function ud(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const i=Object.getOwnPropertyDescriptor(r,l);i&&Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function ad(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lu={exports:{}},xl={},Fu={exports:{}},D={};/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ar=Symbol.for("react.element"),cd=Symbol.for("react.portal"),dd=Symbol.for("react.fragment"),fd=Symbol.for("react.strict_mode"),pd=Symbol.for("react.profiler"),hd=Symbol.for("react.provider"),md=Symbol.for("react.context"),vd=Symbol.for("react.forward_ref"),gd=Symbol.for("react.suspense"),xd=Symbol.for("react.memo"),yd=Symbol.for("react.lazy"),ps=Symbol.iterator;function wd(e){return e===null||typeof e!="object"?null:(e=ps&&e[ps]||e["@@iterator"],typeof e=="function"?e:null)}var Tu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ru=Object.assign,Du={};function mn(e,t,n){this.props=e,this.context=t,this.refs=Du,this.updater=n||Tu}mn.prototype.isReactComponent={};mn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};mn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function zu(){}zu.prototype=mn.prototype;function po(e,t,n){this.props=e,this.context=t,this.refs=Du,this.updater=n||Tu}var ho=po.prototype=new zu;ho.constructor=po;Ru(ho,mn.prototype);ho.isPureReactComponent=!0;var hs=Array.isArray,Ou=Object.prototype.hasOwnProperty,mo={current:null},Mu={key:!0,ref:!0,__self:!0,__source:!0};function Iu(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Ou.call(t,r)&&!Mu.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];l.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:ar,type:e,key:i,ref:o,props:l,_owner:mo.current}}function Cd(e,t){return{$$typeof:ar,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vo(e){return typeof e=="object"&&e!==null&&e.$$typeof===ar}function Sd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ms=/\/+/g;function $l(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Sd(""+e.key):t.toString(36)}function Dr(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ar:case cd:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+$l(o,0):r,hs(l)?(n="",e!=null&&(n=e.replace(ms,"$&/")+"/"),Dr(l,t,n,"",function(c){return c})):l!=null&&(vo(l)&&(l=Cd(l,n+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(ms,"$&/")+"/")+e)),t.push(l)),1;if(o=0,r=r===""?".":r+":",hs(e))for(var s=0;s<e.length;s++){i=e[s];var u=r+$l(i,s);o+=Dr(i,t,n,u,l)}else if(u=wd(e),typeof u=="function")for(e=u.call(e),s=0;!(i=e.next()).done;)i=i.value,u=r+$l(i,s++),o+=Dr(i,t,n,u,l);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function vr(e,t,n){if(e==null)return e;var r=[],l=0;return Dr(e,r,"","",function(i){return t.call(n,i,l++)}),r}function kd(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ae={current:null},zr={transition:null},Ed={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:zr,ReactCurrentOwner:mo};D.Children={map:vr,forEach:function(e,t,n){vr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return vr(e,function(){t++}),t},toArray:function(e){return vr(e,function(t){return t})||[]},only:function(e){if(!vo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=mn;D.Fragment=dd;D.Profiler=pd;D.PureComponent=po;D.StrictMode=fd;D.Suspense=gd;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ed;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ru({},e.props),l=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=mo.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)Ou.call(t,u)&&!Mu.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:ar,type:e.type,key:l,ref:i,props:r,_owner:o}};D.createContext=function(e){return e={$$typeof:md,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:hd,_context:e},e.Consumer=e};D.createElement=Iu;D.createFactory=function(e){var t=Iu.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:vd,render:e}};D.isValidElement=vo;D.lazy=function(e){return{$$typeof:yd,_payload:{_status:-1,_result:e},_init:kd}};D.memo=function(e,t){return{$$typeof:xd,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=zr.transition;zr.transition={};try{e()}finally{zr.transition=t}};D.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};D.useCallback=function(e,t){return ae.current.useCallback(e,t)};D.useContext=function(e){return ae.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return ae.current.useDeferredValue(e)};D.useEffect=function(e,t){return ae.current.useEffect(e,t)};D.useId=function(){return ae.current.useId()};D.useImperativeHandle=function(e,t,n){return ae.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return ae.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return ae.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return ae.current.useMemo(e,t)};D.useReducer=function(e,t,n){return ae.current.useReducer(e,t,n)};D.useRef=function(e){return ae.current.useRef(e)};D.useState=function(e){return ae.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return ae.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return ae.current.useTransition()};D.version="18.2.0";Fu.exports=D;var y=Fu.exports;const Bu=ad(y),jd=ud({__proto__:null,default:Bu},[y]);/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Nd=y,Pd=Symbol.for("react.element"),_d=Symbol.for("react.fragment"),Ld=Object.prototype.hasOwnProperty,Fd=Nd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Td={key:!0,ref:!0,__self:!0,__source:!0};function Uu(e,t,n){var r,l={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Ld.call(t,r)&&!Td.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:Pd,type:e,key:i,ref:o,props:l,_owner:Fd.current}}xl.Fragment=_d;xl.jsx=Uu;xl.jsxs=Uu;Lu.exports=xl;var a=Lu.exports,mi={},$u={exports:{}},Se={},Au={exports:{}},Vu={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(N,F){var R=N.length;N.push(F);e:for(;0<R;){var K=R-1>>>1,J=N[K];if(0<l(J,F))N[K]=F,N[R]=J,R=K;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var F=N[0],R=N.pop();if(R!==F){N[0]=R;e:for(var K=0,J=N.length,hr=J>>>1;K<hr;){var kt=2*(K+1)-1,Ul=N[kt],Et=kt+1,mr=N[Et];if(0>l(Ul,R))Et<J&&0>l(mr,Ul)?(N[K]=mr,N[Et]=R,K=Et):(N[K]=Ul,N[kt]=R,K=kt);else if(Et<J&&0>l(mr,R))N[K]=mr,N[Et]=R,K=Et;else break e}}return F}function l(N,F){var R=N.sortIndex-F.sortIndex;return R!==0?R:N.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],c=[],h=1,m=null,v=3,x=!1,w=!1,C=!1,k=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(N){for(var F=n(c);F!==null;){if(F.callback===null)r(c);else if(F.startTime<=N)r(c),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(c)}}function g(N){if(C=!1,f(N),!w)if(n(u)!==null)w=!0,Il(E);else{var F=n(c);F!==null&&Bl(g,F.startTime-N)}}function E(N,F){w=!1,C&&(C=!1,p(L),L=-1),x=!0;var R=v;try{for(f(F),m=n(u);m!==null&&(!(m.expirationTime>F)||N&&!ve());){var K=m.callback;if(typeof K=="function"){m.callback=null,v=m.priorityLevel;var J=K(m.expirationTime<=F);F=e.unstable_now(),typeof J=="function"?m.callback=J:m===n(u)&&r(u),f(F)}else r(u);m=n(u)}if(m!==null)var hr=!0;else{var kt=n(c);kt!==null&&Bl(g,kt.startTime-F),hr=!1}return hr}finally{m=null,v=R,x=!1}}var P=!1,_=null,L=-1,$=5,T=-1;function ve(){return!(e.unstable_now()-T<$)}function Cn(){if(_!==null){var N=e.unstable_now();T=N;var F=!0;try{F=_(!0,N)}finally{F?Sn():(P=!1,_=null)}}else P=!1}var Sn;if(typeof d=="function")Sn=function(){d(Cn)};else if(typeof MessageChannel<"u"){var fs=new MessageChannel,sd=fs.port2;fs.port1.onmessage=Cn,Sn=function(){sd.postMessage(null)}}else Sn=function(){k(Cn,0)};function Il(N){_=N,P||(P=!0,Sn())}function Bl(N,F){L=k(function(){N(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){w||x||(w=!0,Il(E))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(N){switch(v){case 1:case 2:case 3:var F=3;break;default:F=v}var R=v;v=F;try{return N()}finally{v=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,F){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var R=v;v=N;try{return F()}finally{v=R}},e.unstable_scheduleCallback=function(N,F,R){var K=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?K+R:K):R=K,N){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=R+J,N={id:h++,callback:F,priorityLevel:N,startTime:R,expirationTime:J,sortIndex:-1},R>K?(N.sortIndex=R,t(c,N),n(u)===null&&N===n(c)&&(C?(p(L),L=-1):C=!0,Bl(g,R-K))):(N.sortIndex=J,t(u,N),w||x||(w=!0,Il(E))),N},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(N){var F=v;return function(){var R=v;v=F;try{return N.apply(this,arguments)}finally{v=R}}}})(Vu);Au.exports=Vu;var Rd=Au.exports;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Hu=y,Ce=Rd;function S(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Wu=new Set,Wn={};function Bt(e,t){sn(e,t),sn(e+"Capture",t)}function sn(e,t){for(Wn[e]=t,e=0;e<t.length;e++)Wu.add(t[e])}var Ze=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vi=Object.prototype.hasOwnProperty,Dd=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,vs={},gs={};function zd(e){return vi.call(gs,e)?!0:vi.call(vs,e)?!1:Dd.test(e)?gs[e]=!0:(vs[e]=!0,!1)}function Od(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Md(e,t,n,r){if(t===null||typeof t>"u"||Od(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ce(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var go=/[\-:]([a-z])/g;function xo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(go,xo);ne[t]=new ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(go,xo);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(go,xo);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function yo(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Md(t,n,l,r)&&(n=null),r||l===null?zd(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Je=Hu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,gr=Symbol.for("react.element"),Vt=Symbol.for("react.portal"),Ht=Symbol.for("react.fragment"),wo=Symbol.for("react.strict_mode"),gi=Symbol.for("react.profiler"),Qu=Symbol.for("react.provider"),Ku=Symbol.for("react.context"),Co=Symbol.for("react.forward_ref"),xi=Symbol.for("react.suspense"),yi=Symbol.for("react.suspense_list"),So=Symbol.for("react.memo"),nt=Symbol.for("react.lazy"),Zu=Symbol.for("react.offscreen"),xs=Symbol.iterator;function kn(e){return e===null||typeof e!="object"?null:(e=xs&&e[xs]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,Al;function Tn(e){if(Al===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Al=t&&t[1]||""}return`
`+Al+e}var Vl=!1;function Hl(e,t){if(!e||Vl)return"";Vl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var l=c.stack.split(`
`),i=r.stack.split(`
`),o=l.length-1,s=i.length-1;1<=o&&0<=s&&l[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(l[o]!==i[s]){if(o!==1||s!==1)do if(o--,s--,0>s||l[o]!==i[s]){var u=`
`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tn(e):""}function Id(e){switch(e.tag){case 5:return Tn(e.type);case 16:return Tn("Lazy");case 13:return Tn("Suspense");case 19:return Tn("SuspenseList");case 0:case 2:case 15:return e=Hl(e.type,!1),e;case 11:return e=Hl(e.type.render,!1),e;case 1:return e=Hl(e.type,!0),e;default:return""}}function wi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ht:return"Fragment";case Vt:return"Portal";case gi:return"Profiler";case wo:return"StrictMode";case xi:return"Suspense";case yi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ku:return(e.displayName||"Context")+".Consumer";case Qu:return(e._context.displayName||"Context")+".Provider";case Co:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case So:return t=e.displayName||null,t!==null?t:wi(e.type)||"Memo";case nt:t=e._payload,e=e._init;try{return wi(e(t))}catch{}}return null}function Bd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return wi(t);case 8:return t===wo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function xt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Yu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ud(e){var t=Yu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xr(e){e._valueTracker||(e._valueTracker=Ud(e))}function Xu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Yu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ci(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ys(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Gu(e,t){t=t.checked,t!=null&&yo(e,"checked",t,!1)}function Si(e,t){Gu(e,t);var n=xt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ki(e,t.type,n):t.hasOwnProperty("defaultValue")&&ki(e,t.type,xt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ws(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ki(e,t,n){(t!=="number"||Qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rn=Array.isArray;function en(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+xt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Ei(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(S(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Cs(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(S(92));if(Rn(n)){if(1<n.length)throw Error(S(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:xt(n)}}function Ju(e,t){var n=xt(t.value),r=xt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Ss(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function qu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ji(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?qu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var yr,bu=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(yr=yr||document.createElement("div"),yr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=yr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var On={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$d=["Webkit","ms","Moz","O"];Object.keys(On).forEach(function(e){$d.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]})});function ea(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function ta(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ea(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ad=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ni(e,t){if(t){if(Ad[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function Pi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _i=null;function ko(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Li=null,tn=null,nn=null;function ks(e){if(e=fr(e)){if(typeof Li!="function")throw Error(S(280));var t=e.stateNode;t&&(t=kl(t),Li(e.stateNode,e.type,t))}}function na(e){tn?nn?nn.push(e):nn=[e]:tn=e}function ra(){if(tn){var e=tn,t=nn;if(nn=tn=null,ks(e),t)for(e=0;e<t.length;e++)ks(t[e])}}function la(e,t){return e(t)}function ia(){}var Wl=!1;function oa(e,t,n){if(Wl)return e(t,n);Wl=!0;try{return la(e,t,n)}finally{Wl=!1,(tn!==null||nn!==null)&&(ia(),ra())}}function Kn(e,t){var n=e.stateNode;if(n===null)return null;var r=kl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(S(231,t,typeof n));return n}var Fi=!1;if(Ze)try{var En={};Object.defineProperty(En,"passive",{get:function(){Fi=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{Fi=!1}function Vd(e,t,n,r,l,i,o,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(h){this.onError(h)}}var Mn=!1,Kr=null,Zr=!1,Ti=null,Hd={onError:function(e){Mn=!0,Kr=e}};function Wd(e,t,n,r,l,i,o,s,u){Mn=!1,Kr=null,Vd.apply(Hd,arguments)}function Qd(e,t,n,r,l,i,o,s,u){if(Wd.apply(this,arguments),Mn){if(Mn){var c=Kr;Mn=!1,Kr=null}else throw Error(S(198));Zr||(Zr=!0,Ti=c)}}function Ut(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function sa(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Es(e){if(Ut(e)!==e)throw Error(S(188))}function Kd(e){var t=e.alternate;if(!t){if(t=Ut(e),t===null)throw Error(S(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return Es(l),e;if(i===r)return Es(l),t;i=i.sibling}throw Error(S(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,s=l.child;s;){if(s===n){o=!0,n=l,r=i;break}if(s===r){o=!0,r=l,n=i;break}s=s.sibling}if(!o){for(s=i.child;s;){if(s===n){o=!0,n=i,r=l;break}if(s===r){o=!0,r=i,n=l;break}s=s.sibling}if(!o)throw Error(S(189))}}if(n.alternate!==r)throw Error(S(190))}if(n.tag!==3)throw Error(S(188));return n.stateNode.current===n?e:t}function ua(e){return e=Kd(e),e!==null?aa(e):null}function aa(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=aa(e);if(t!==null)return t;e=e.sibling}return null}var ca=Ce.unstable_scheduleCallback,js=Ce.unstable_cancelCallback,Zd=Ce.unstable_shouldYield,Yd=Ce.unstable_requestPaint,Z=Ce.unstable_now,Xd=Ce.unstable_getCurrentPriorityLevel,Eo=Ce.unstable_ImmediatePriority,da=Ce.unstable_UserBlockingPriority,Yr=Ce.unstable_NormalPriority,Gd=Ce.unstable_LowPriority,fa=Ce.unstable_IdlePriority,yl=null,$e=null;function Jd(e){if($e&&typeof $e.onCommitFiberRoot=="function")try{$e.onCommitFiberRoot(yl,e,void 0,(e.current.flags&128)===128)}catch{}}var ze=Math.clz32?Math.clz32:ef,qd=Math.log,bd=Math.LN2;function ef(e){return e>>>=0,e===0?32:31-(qd(e)/bd|0)|0}var wr=64,Cr=4194304;function Dn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=Dn(s):(i&=o,i!==0&&(r=Dn(i)))}else o=n&~l,o!==0?r=Dn(o):i!==0&&(r=Dn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ze(t),l=1<<n,r|=e[n],t&=~l;return r}function tf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function nf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-ze(i),s=1<<o,u=l[o];u===-1?(!(s&n)||s&r)&&(l[o]=tf(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}function Ri(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function pa(){var e=wr;return wr<<=1,!(wr&4194240)&&(wr=64),e}function Ql(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function cr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ze(t),e[t]=n}function rf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-ze(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function jo(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ze(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var O=0;function ha(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var ma,No,va,ga,xa,Di=!1,Sr=[],at=null,ct=null,dt=null,Zn=new Map,Yn=new Map,lt=[],lf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ns(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":ct=null;break;case"mouseover":case"mouseout":dt=null;break;case"pointerover":case"pointerout":Zn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yn.delete(t.pointerId)}}function jn(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=fr(t),t!==null&&No(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function of(e,t,n,r,l){switch(t){case"focusin":return at=jn(at,e,t,n,r,l),!0;case"dragenter":return ct=jn(ct,e,t,n,r,l),!0;case"mouseover":return dt=jn(dt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Zn.set(i,jn(Zn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Yn.set(i,jn(Yn.get(i)||null,e,t,n,r,l)),!0}return!1}function ya(e){var t=Pt(e.target);if(t!==null){var n=Ut(t);if(n!==null){if(t=n.tag,t===13){if(t=sa(n),t!==null){e.blockedOn=t,xa(e.priority,function(){va(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Or(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);_i=r,n.target.dispatchEvent(r),_i=null}else return t=fr(n),t!==null&&No(t),e.blockedOn=n,!1;t.shift()}return!0}function Ps(e,t,n){Or(e)&&n.delete(t)}function sf(){Di=!1,at!==null&&Or(at)&&(at=null),ct!==null&&Or(ct)&&(ct=null),dt!==null&&Or(dt)&&(dt=null),Zn.forEach(Ps),Yn.forEach(Ps)}function Nn(e,t){e.blockedOn===t&&(e.blockedOn=null,Di||(Di=!0,Ce.unstable_scheduleCallback(Ce.unstable_NormalPriority,sf)))}function Xn(e){function t(l){return Nn(l,e)}if(0<Sr.length){Nn(Sr[0],e);for(var n=1;n<Sr.length;n++){var r=Sr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(at!==null&&Nn(at,e),ct!==null&&Nn(ct,e),dt!==null&&Nn(dt,e),Zn.forEach(t),Yn.forEach(t),n=0;n<lt.length;n++)r=lt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<lt.length&&(n=lt[0],n.blockedOn===null);)ya(n),n.blockedOn===null&&lt.shift()}var rn=Je.ReactCurrentBatchConfig,Gr=!0;function uf(e,t,n,r){var l=O,i=rn.transition;rn.transition=null;try{O=1,Po(e,t,n,r)}finally{O=l,rn.transition=i}}function af(e,t,n,r){var l=O,i=rn.transition;rn.transition=null;try{O=4,Po(e,t,n,r)}finally{O=l,rn.transition=i}}function Po(e,t,n,r){if(Gr){var l=zi(e,t,n,r);if(l===null)ti(e,t,r,Jr,n),Ns(e,r);else if(of(l,e,t,n,r))r.stopPropagation();else if(Ns(e,r),t&4&&-1<lf.indexOf(e)){for(;l!==null;){var i=fr(l);if(i!==null&&ma(i),i=zi(e,t,n,r),i===null&&ti(e,t,r,Jr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else ti(e,t,r,null,n)}}var Jr=null;function zi(e,t,n,r){if(Jr=null,e=ko(r),e=Pt(e),e!==null)if(t=Ut(e),t===null)e=null;else if(n=t.tag,n===13){if(e=sa(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Jr=e,null}function wa(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xd()){case Eo:return 1;case da:return 4;case Yr:case Gd:return 16;case fa:return 536870912;default:return 16}default:return 16}}var ot=null,_o=null,Mr=null;function Ca(){if(Mr)return Mr;var e,t=_o,n=t.length,r,l="value"in ot?ot.value:ot.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Mr=l.slice(e,1<r?1-r:void 0)}function Ir(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function kr(){return!0}function _s(){return!1}function ke(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?kr:_s,this.isPropagationStopped=_s,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=kr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=kr)},persist:function(){},isPersistent:kr}),t}var vn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lo=ke(vn),dr=W({},vn,{view:0,detail:0}),cf=ke(dr),Kl,Zl,Pn,wl=W({},dr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Pn&&(Pn&&e.type==="mousemove"?(Kl=e.screenX-Pn.screenX,Zl=e.screenY-Pn.screenY):Zl=Kl=0,Pn=e),Kl)},movementY:function(e){return"movementY"in e?e.movementY:Zl}}),Ls=ke(wl),df=W({},wl,{dataTransfer:0}),ff=ke(df),pf=W({},dr,{relatedTarget:0}),Yl=ke(pf),hf=W({},vn,{animationName:0,elapsedTime:0,pseudoElement:0}),mf=ke(hf),vf=W({},vn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gf=ke(vf),xf=W({},vn,{data:0}),Fs=ke(xf),yf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Cf[e])?!!t[e]:!1}function Fo(){return Sf}var kf=W({},dr,{key:function(e){if(e.key){var t=yf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ir(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fo,charCode:function(e){return e.type==="keypress"?Ir(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ir(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ef=ke(kf),jf=W({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ts=ke(jf),Nf=W({},dr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fo}),Pf=ke(Nf),_f=W({},vn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Lf=ke(_f),Ff=W({},wl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tf=ke(Ff),Rf=[9,13,27,32],To=Ze&&"CompositionEvent"in window,In=null;Ze&&"documentMode"in document&&(In=document.documentMode);var Df=Ze&&"TextEvent"in window&&!In,Sa=Ze&&(!To||In&&8<In&&11>=In),Rs=" ",Ds=!1;function ka(e,t){switch(e){case"keyup":return Rf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ea(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wt=!1;function zf(e,t){switch(e){case"compositionend":return Ea(t);case"keypress":return t.which!==32?null:(Ds=!0,Rs);case"textInput":return e=t.data,e===Rs&&Ds?null:e;default:return null}}function Of(e,t){if(Wt)return e==="compositionend"||!To&&ka(e,t)?(e=Ca(),Mr=_o=ot=null,Wt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sa&&t.locale!=="ko"?null:t.data;default:return null}}var Mf={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Mf[e.type]:t==="textarea"}function ja(e,t,n,r){na(r),t=qr(t,"onChange"),0<t.length&&(n=new Lo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bn=null,Gn=null;function If(e){Ma(e,0)}function Cl(e){var t=Zt(e);if(Xu(t))return e}function Bf(e,t){if(e==="change")return t}var Na=!1;if(Ze){var Xl;if(Ze){var Gl="oninput"in document;if(!Gl){var Os=document.createElement("div");Os.setAttribute("oninput","return;"),Gl=typeof Os.oninput=="function"}Xl=Gl}else Xl=!1;Na=Xl&&(!document.documentMode||9<document.documentMode)}function Ms(){Bn&&(Bn.detachEvent("onpropertychange",Pa),Gn=Bn=null)}function Pa(e){if(e.propertyName==="value"&&Cl(Gn)){var t=[];ja(t,Gn,e,ko(e)),oa(If,t)}}function Uf(e,t,n){e==="focusin"?(Ms(),Bn=t,Gn=n,Bn.attachEvent("onpropertychange",Pa)):e==="focusout"&&Ms()}function $f(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Cl(Gn)}function Af(e,t){if(e==="click")return Cl(t)}function Vf(e,t){if(e==="input"||e==="change")return Cl(t)}function Hf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Me=typeof Object.is=="function"?Object.is:Hf;function Jn(e,t){if(Me(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!vi.call(t,l)||!Me(e[l],t[l]))return!1}return!0}function Is(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bs(e,t){var n=Is(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Is(n)}}function _a(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_a(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function La(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qr(e.document)}return t}function Ro(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Wf(e){var t=La(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_a(n.ownerDocument.documentElement,n)){if(r!==null&&Ro(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Bs(n,i);var o=Bs(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Qf=Ze&&"documentMode"in document&&11>=document.documentMode,Qt=null,Oi=null,Un=null,Mi=!1;function Us(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mi||Qt==null||Qt!==Qr(r)||(r=Qt,"selectionStart"in r&&Ro(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Un&&Jn(Un,r)||(Un=r,r=qr(Oi,"onSelect"),0<r.length&&(t=new Lo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Qt)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Kt={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},Jl={},Fa={};Ze&&(Fa=document.createElement("div").style,"AnimationEvent"in window||(delete Kt.animationend.animation,delete Kt.animationiteration.animation,delete Kt.animationstart.animation),"TransitionEvent"in window||delete Kt.transitionend.transition);function Sl(e){if(Jl[e])return Jl[e];if(!Kt[e])return e;var t=Kt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Fa)return Jl[e]=t[n];return e}var Ta=Sl("animationend"),Ra=Sl("animationiteration"),Da=Sl("animationstart"),za=Sl("transitionend"),Oa=new Map,$s="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function wt(e,t){Oa.set(e,t),Bt(t,[e])}for(var ql=0;ql<$s.length;ql++){var bl=$s[ql],Kf=bl.toLowerCase(),Zf=bl[0].toUpperCase()+bl.slice(1);wt(Kf,"on"+Zf)}wt(Ta,"onAnimationEnd");wt(Ra,"onAnimationIteration");wt(Da,"onAnimationStart");wt("dblclick","onDoubleClick");wt("focusin","onFocus");wt("focusout","onBlur");wt(za,"onTransitionEnd");sn("onMouseEnter",["mouseout","mouseover"]);sn("onMouseLeave",["mouseout","mouseover"]);sn("onPointerEnter",["pointerout","pointerover"]);sn("onPointerLeave",["pointerout","pointerover"]);Bt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Bt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Bt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Bt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Bt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Bt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Yf=new Set("cancel close invalid load scroll toggle".split(" ").concat(zn));function As(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Qd(r,t,void 0,e),e.currentTarget=null}function Ma(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==i&&l.isPropagationStopped())break e;As(l,s,c),i=u}else for(o=0;o<r.length;o++){if(s=r[o],u=s.instance,c=s.currentTarget,s=s.listener,u!==i&&l.isPropagationStopped())break e;As(l,s,c),i=u}}}if(Zr)throw e=Ti,Zr=!1,Ti=null,e}function I(e,t){var n=t[Ai];n===void 0&&(n=t[Ai]=new Set);var r=e+"__bubble";n.has(r)||(Ia(t,e,2,!1),n.add(r))}function ei(e,t,n){var r=0;t&&(r|=4),Ia(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function qn(e){if(!e[jr]){e[jr]=!0,Wu.forEach(function(n){n!=="selectionchange"&&(Yf.has(n)||ei(n,!1,e),ei(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jr]||(t[jr]=!0,ei("selectionchange",!1,t))}}function Ia(e,t,n,r){switch(wa(t)){case 1:var l=uf;break;case 4:l=af;break;default:l=Po}n=l.bind(null,t,n,e),l=void 0,!Fi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function ti(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===l||s.nodeType===8&&s.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var u=o.tag;if((u===3||u===4)&&(u=o.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;o=o.return}for(;s!==null;){if(o=Pt(s),o===null)return;if(u=o.tag,u===5||u===6){r=i=o;continue e}s=s.parentNode}}r=r.return}oa(function(){var c=i,h=ko(n),m=[];e:{var v=Oa.get(e);if(v!==void 0){var x=Lo,w=e;switch(e){case"keypress":if(Ir(n)===0)break e;case"keydown":case"keyup":x=Ef;break;case"focusin":w="focus",x=Yl;break;case"focusout":w="blur",x=Yl;break;case"beforeblur":case"afterblur":x=Yl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Ls;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=ff;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Pf;break;case Ta:case Ra:case Da:x=mf;break;case za:x=Lf;break;case"scroll":x=cf;break;case"wheel":x=Tf;break;case"copy":case"cut":case"paste":x=gf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Ts}var C=(t&4)!==0,k=!C&&e==="scroll",p=C?v!==null?v+"Capture":null:v;C=[];for(var d=c,f;d!==null;){f=d;var g=f.stateNode;if(f.tag===5&&g!==null&&(f=g,p!==null&&(g=Kn(d,p),g!=null&&C.push(bn(d,g,f)))),k)break;d=d.return}0<C.length&&(v=new x(v,w,null,n,h),m.push({event:v,listeners:C}))}}if(!(t&7)){e:{if(v=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",v&&n!==_i&&(w=n.relatedTarget||n.fromElement)&&(Pt(w)||w[Ye]))break e;if((x||v)&&(v=h.window===h?h:(v=h.ownerDocument)?v.defaultView||v.parentWindow:window,x?(w=n.relatedTarget||n.toElement,x=c,w=w?Pt(w):null,w!==null&&(k=Ut(w),w!==k||w.tag!==5&&w.tag!==6)&&(w=null)):(x=null,w=c),x!==w)){if(C=Ls,g="onMouseLeave",p="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(C=Ts,g="onPointerLeave",p="onPointerEnter",d="pointer"),k=x==null?v:Zt(x),f=w==null?v:Zt(w),v=new C(g,d+"leave",x,n,h),v.target=k,v.relatedTarget=f,g=null,Pt(h)===c&&(C=new C(p,d+"enter",w,n,h),C.target=f,C.relatedTarget=k,g=C),k=g,x&&w)t:{for(C=x,p=w,d=0,f=C;f;f=$t(f))d++;for(f=0,g=p;g;g=$t(g))f++;for(;0<d-f;)C=$t(C),d--;for(;0<f-d;)p=$t(p),f--;for(;d--;){if(C===p||p!==null&&C===p.alternate)break t;C=$t(C),p=$t(p)}C=null}else C=null;x!==null&&Vs(m,v,x,C,!1),w!==null&&k!==null&&Vs(m,k,w,C,!0)}}e:{if(v=c?Zt(c):window,x=v.nodeName&&v.nodeName.toLowerCase(),x==="select"||x==="input"&&v.type==="file")var E=Bf;else if(zs(v))if(Na)E=Vf;else{E=$f;var P=Uf}else(x=v.nodeName)&&x.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(E=Af);if(E&&(E=E(e,c))){ja(m,E,n,h);break e}P&&P(e,v,c),e==="focusout"&&(P=v._wrapperState)&&P.controlled&&v.type==="number"&&ki(v,"number",v.value)}switch(P=c?Zt(c):window,e){case"focusin":(zs(P)||P.contentEditable==="true")&&(Qt=P,Oi=c,Un=null);break;case"focusout":Un=Oi=Qt=null;break;case"mousedown":Mi=!0;break;case"contextmenu":case"mouseup":case"dragend":Mi=!1,Us(m,n,h);break;case"selectionchange":if(Qf)break;case"keydown":case"keyup":Us(m,n,h)}var _;if(To)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else Wt?ka(e,n)&&(L="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(L="onCompositionStart");L&&(Sa&&n.locale!=="ko"&&(Wt||L!=="onCompositionStart"?L==="onCompositionEnd"&&Wt&&(_=Ca()):(ot=h,_o="value"in ot?ot.value:ot.textContent,Wt=!0)),P=qr(c,L),0<P.length&&(L=new Fs(L,e,null,n,h),m.push({event:L,listeners:P}),_?L.data=_:(_=Ea(n),_!==null&&(L.data=_)))),(_=Df?zf(e,n):Of(e,n))&&(c=qr(c,"onBeforeInput"),0<c.length&&(h=new Fs("onBeforeInput","beforeinput",null,n,h),m.push({event:h,listeners:c}),h.data=_))}Ma(m,t)})}function bn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Kn(e,n),i!=null&&r.unshift(bn(e,i,l)),i=Kn(e,t),i!=null&&r.push(bn(e,i,l))),e=e.return}return r}function $t(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Vs(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var s=n,u=s.alternate,c=s.stateNode;if(u!==null&&u===r)break;s.tag===5&&c!==null&&(s=c,l?(u=Kn(n,i),u!=null&&o.unshift(bn(n,u,s))):l||(u=Kn(n,i),u!=null&&o.push(bn(n,u,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Xf=/\r\n?/g,Gf=/\u0000|\uFFFD/g;function Hs(e){return(typeof e=="string"?e:""+e).replace(Xf,`
`).replace(Gf,"")}function Nr(e,t,n){if(t=Hs(t),Hs(e)!==t&&n)throw Error(S(425))}function br(){}var Ii=null,Bi=null;function Ui(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $i=typeof setTimeout=="function"?setTimeout:void 0,Jf=typeof clearTimeout=="function"?clearTimeout:void 0,Ws=typeof Promise=="function"?Promise:void 0,qf=typeof queueMicrotask=="function"?queueMicrotask:typeof Ws<"u"?function(e){return Ws.resolve(null).then(e).catch(bf)}:$i;function bf(e){setTimeout(function(){throw e})}function ni(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Xn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Xn(t)}function ft(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Qs(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var gn=Math.random().toString(36).slice(2),Ue="__reactFiber$"+gn,er="__reactProps$"+gn,Ye="__reactContainer$"+gn,Ai="__reactEvents$"+gn,e1="__reactListeners$"+gn,t1="__reactHandles$"+gn;function Pt(e){var t=e[Ue];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ye]||n[Ue]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Qs(e);e!==null;){if(n=e[Ue])return n;e=Qs(e)}return t}e=n,n=e.parentNode}return null}function fr(e){return e=e[Ue]||e[Ye],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(S(33))}function kl(e){return e[er]||null}var Vi=[],Yt=-1;function Ct(e){return{current:e}}function B(e){0>Yt||(e.current=Vi[Yt],Vi[Yt]=null,Yt--)}function M(e,t){Yt++,Vi[Yt]=e.current,e.current=t}var yt={},oe=Ct(yt),pe=Ct(!1),Dt=yt;function un(e,t){var n=e.type.contextTypes;if(!n)return yt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function el(){B(pe),B(oe)}function Ks(e,t,n){if(oe.current!==yt)throw Error(S(168));M(oe,t),M(pe,n)}function Ba(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,Bd(e)||"Unknown",l));return W({},n,r)}function tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yt,Dt=oe.current,M(oe,e),M(pe,pe.current),!0}function Zs(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Ba(e,t,Dt),r.__reactInternalMemoizedMergedChildContext=e,B(pe),B(oe),M(oe,e)):B(pe),M(pe,n)}var He=null,El=!1,ri=!1;function Ua(e){He===null?He=[e]:He.push(e)}function n1(e){El=!0,Ua(e)}function St(){if(!ri&&He!==null){ri=!0;var e=0,t=O;try{var n=He;for(O=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}He=null,El=!1}catch(l){throw He!==null&&(He=He.slice(e+1)),ca(Eo,St),l}finally{O=t,ri=!1}}return null}var Xt=[],Gt=0,nl=null,rl=0,Ee=[],je=0,zt=null,We=1,Qe="";function jt(e,t){Xt[Gt++]=rl,Xt[Gt++]=nl,nl=e,rl=t}function $a(e,t,n){Ee[je++]=We,Ee[je++]=Qe,Ee[je++]=zt,zt=e;var r=We;e=Qe;var l=32-ze(r)-1;r&=~(1<<l),n+=1;var i=32-ze(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,We=1<<32-ze(t)+l|n<<l|r,Qe=i+e}else We=1<<i|n<<l|r,Qe=e}function Do(e){e.return!==null&&(jt(e,1),$a(e,1,0))}function zo(e){for(;e===nl;)nl=Xt[--Gt],Xt[Gt]=null,rl=Xt[--Gt],Xt[Gt]=null;for(;e===zt;)zt=Ee[--je],Ee[je]=null,Qe=Ee[--je],Ee[je]=null,We=Ee[--je],Ee[je]=null}var we=null,ye=null,U=!1,De=null;function Aa(e,t){var n=Ne(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ys(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,we=e,ye=ft(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,we=e,ye=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=zt!==null?{id:We,overflow:Qe}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ne(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,we=e,ye=null,!0):!1;default:return!1}}function Hi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Wi(e){if(U){var t=ye;if(t){var n=t;if(!Ys(e,t)){if(Hi(e))throw Error(S(418));t=ft(n.nextSibling);var r=we;t&&Ys(e,t)?Aa(r,n):(e.flags=e.flags&-4097|2,U=!1,we=e)}}else{if(Hi(e))throw Error(S(418));e.flags=e.flags&-4097|2,U=!1,we=e}}}function Xs(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;we=e}function Pr(e){if(e!==we)return!1;if(!U)return Xs(e),U=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ui(e.type,e.memoizedProps)),t&&(t=ye)){if(Hi(e))throw Va(),Error(S(418));for(;t;)Aa(e,t),t=ft(t.nextSibling)}if(Xs(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ye=ft(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ye=null}}else ye=we?ft(e.stateNode.nextSibling):null;return!0}function Va(){for(var e=ye;e;)e=ft(e.nextSibling)}function an(){ye=we=null,U=!1}function Oo(e){De===null?De=[e]:De.push(e)}var r1=Je.ReactCurrentBatchConfig;function Te(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var ll=Ct(null),il=null,Jt=null,Mo=null;function Io(){Mo=Jt=il=null}function Bo(e){var t=ll.current;B(ll),e._currentValue=t}function Qi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ln(e,t){il=e,Mo=Jt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function _e(e){var t=e._currentValue;if(Mo!==e)if(e={context:e,memoizedValue:t,next:null},Jt===null){if(il===null)throw Error(S(308));Jt=e,il.dependencies={lanes:0,firstContext:e}}else Jt=Jt.next=e;return t}var _t=null;function Uo(e){_t===null?_t=[e]:_t.push(e)}function Ha(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Uo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Xe(e,r)}function Xe(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var rt=!1;function $o(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ke(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,z&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Xe(e,n)}return l=r.interleaved,l===null?(t.next=t,Uo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Xe(e,n)}function Br(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jo(e,n)}}function Gs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ol(e,t,n,r){var l=e.updateQueue;rt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,c=u.next;u.next=null,o===null?i=c:o.next=c,o=u;var h=e.alternate;h!==null&&(h=h.updateQueue,s=h.lastBaseUpdate,s!==o&&(s===null?h.firstBaseUpdate=c:s.next=c,h.lastBaseUpdate=u))}if(i!==null){var m=l.baseState;o=0,h=c=u=null,s=i;do{var v=s.lane,x=s.eventTime;if((r&v)===v){h!==null&&(h=h.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,C=s;switch(v=t,x=n,C.tag){case 1:if(w=C.payload,typeof w=="function"){m=w.call(x,m,v);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=C.payload,v=typeof w=="function"?w.call(x,m,v):w,v==null)break e;m=W({},m,v);break e;case 2:rt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[s]:v.push(s))}else x={eventTime:x,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},h===null?(c=h=x,u=m):h=h.next=x,o|=v;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;v=s,s=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(h===null&&(u=m),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Mt|=o,e.lanes=o,e.memoizedState=m}}function Js(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(S(191,l));l.call(r)}}}var Qa=new Hu.Component().refs;function Ki(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:W({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var jl={isMounted:function(e){return(e=e._reactInternals)?Ut(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ue(),l=mt(e),i=Ke(r,l);i.payload=t,n!=null&&(i.callback=n),t=pt(e,i,l),t!==null&&(Oe(t,e,l,r),Br(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ue(),l=mt(e),i=Ke(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=pt(e,i,l),t!==null&&(Oe(t,e,l,r),Br(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ue(),r=mt(e),l=Ke(n,r);l.tag=2,t!=null&&(l.callback=t),t=pt(e,l,r),t!==null&&(Oe(t,e,r,n),Br(t,e,r))}};function qs(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Jn(n,r)||!Jn(l,i):!0}function Ka(e,t,n){var r=!1,l=yt,i=t.contextType;return typeof i=="object"&&i!==null?i=_e(i):(l=he(t)?Dt:oe.current,r=t.contextTypes,i=(r=r!=null)?un(e,l):yt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=jl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function bs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&jl.enqueueReplaceState(t,t.state,null)}function Zi(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs=Qa,$o(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=_e(i):(i=he(t)?Dt:oe.current,l.context=un(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ki(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&jl.enqueueReplaceState(l,l.state,null),ol(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function _n(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(S(309));var r=n.stateNode}if(!r)throw Error(S(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var s=l.refs;s===Qa&&(s=l.refs={}),o===null?delete s[i]:s[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(S(284));if(!n._owner)throw Error(S(290,e))}return e}function _r(e,t){throw e=Object.prototype.toString.call(t),Error(S(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function eu(e){var t=e._init;return t(e._payload)}function Za(e){function t(p,d){if(e){var f=p.deletions;f===null?(p.deletions=[d],p.flags|=16):f.push(d)}}function n(p,d){if(!e)return null;for(;d!==null;)t(p,d),d=d.sibling;return null}function r(p,d){for(p=new Map;d!==null;)d.key!==null?p.set(d.key,d):p.set(d.index,d),d=d.sibling;return p}function l(p,d){return p=vt(p,d),p.index=0,p.sibling=null,p}function i(p,d,f){return p.index=f,e?(f=p.alternate,f!==null?(f=f.index,f<d?(p.flags|=2,d):f):(p.flags|=2,d)):(p.flags|=1048576,d)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function s(p,d,f,g){return d===null||d.tag!==6?(d=ci(f,p.mode,g),d.return=p,d):(d=l(d,f),d.return=p,d)}function u(p,d,f,g){var E=f.type;return E===Ht?h(p,d,f.props.children,g,f.key):d!==null&&(d.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===nt&&eu(E)===d.type)?(g=l(d,f.props),g.ref=_n(p,d,f),g.return=p,g):(g=Wr(f.type,f.key,f.props,null,p.mode,g),g.ref=_n(p,d,f),g.return=p,g)}function c(p,d,f,g){return d===null||d.tag!==4||d.stateNode.containerInfo!==f.containerInfo||d.stateNode.implementation!==f.implementation?(d=di(f,p.mode,g),d.return=p,d):(d=l(d,f.children||[]),d.return=p,d)}function h(p,d,f,g,E){return d===null||d.tag!==7?(d=Rt(f,p.mode,g,E),d.return=p,d):(d=l(d,f),d.return=p,d)}function m(p,d,f){if(typeof d=="string"&&d!==""||typeof d=="number")return d=ci(""+d,p.mode,f),d.return=p,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case gr:return f=Wr(d.type,d.key,d.props,null,p.mode,f),f.ref=_n(p,null,d),f.return=p,f;case Vt:return d=di(d,p.mode,f),d.return=p,d;case nt:var g=d._init;return m(p,g(d._payload),f)}if(Rn(d)||kn(d))return d=Rt(d,p.mode,f,null),d.return=p,d;_r(p,d)}return null}function v(p,d,f,g){var E=d!==null?d.key:null;if(typeof f=="string"&&f!==""||typeof f=="number")return E!==null?null:s(p,d,""+f,g);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case gr:return f.key===E?u(p,d,f,g):null;case Vt:return f.key===E?c(p,d,f,g):null;case nt:return E=f._init,v(p,d,E(f._payload),g)}if(Rn(f)||kn(f))return E!==null?null:h(p,d,f,g,null);_r(p,f)}return null}function x(p,d,f,g,E){if(typeof g=="string"&&g!==""||typeof g=="number")return p=p.get(f)||null,s(d,p,""+g,E);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case gr:return p=p.get(g.key===null?f:g.key)||null,u(d,p,g,E);case Vt:return p=p.get(g.key===null?f:g.key)||null,c(d,p,g,E);case nt:var P=g._init;return x(p,d,f,P(g._payload),E)}if(Rn(g)||kn(g))return p=p.get(f)||null,h(d,p,g,E,null);_r(d,g)}return null}function w(p,d,f,g){for(var E=null,P=null,_=d,L=d=0,$=null;_!==null&&L<f.length;L++){_.index>L?($=_,_=null):$=_.sibling;var T=v(p,_,f[L],g);if(T===null){_===null&&(_=$);break}e&&_&&T.alternate===null&&t(p,_),d=i(T,d,L),P===null?E=T:P.sibling=T,P=T,_=$}if(L===f.length)return n(p,_),U&&jt(p,L),E;if(_===null){for(;L<f.length;L++)_=m(p,f[L],g),_!==null&&(d=i(_,d,L),P===null?E=_:P.sibling=_,P=_);return U&&jt(p,L),E}for(_=r(p,_);L<f.length;L++)$=x(_,p,L,f[L],g),$!==null&&(e&&$.alternate!==null&&_.delete($.key===null?L:$.key),d=i($,d,L),P===null?E=$:P.sibling=$,P=$);return e&&_.forEach(function(ve){return t(p,ve)}),U&&jt(p,L),E}function C(p,d,f,g){var E=kn(f);if(typeof E!="function")throw Error(S(150));if(f=E.call(f),f==null)throw Error(S(151));for(var P=E=null,_=d,L=d=0,$=null,T=f.next();_!==null&&!T.done;L++,T=f.next()){_.index>L?($=_,_=null):$=_.sibling;var ve=v(p,_,T.value,g);if(ve===null){_===null&&(_=$);break}e&&_&&ve.alternate===null&&t(p,_),d=i(ve,d,L),P===null?E=ve:P.sibling=ve,P=ve,_=$}if(T.done)return n(p,_),U&&jt(p,L),E;if(_===null){for(;!T.done;L++,T=f.next())T=m(p,T.value,g),T!==null&&(d=i(T,d,L),P===null?E=T:P.sibling=T,P=T);return U&&jt(p,L),E}for(_=r(p,_);!T.done;L++,T=f.next())T=x(_,p,L,T.value,g),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?L:T.key),d=i(T,d,L),P===null?E=T:P.sibling=T,P=T);return e&&_.forEach(function(Cn){return t(p,Cn)}),U&&jt(p,L),E}function k(p,d,f,g){if(typeof f=="object"&&f!==null&&f.type===Ht&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case gr:e:{for(var E=f.key,P=d;P!==null;){if(P.key===E){if(E=f.type,E===Ht){if(P.tag===7){n(p,P.sibling),d=l(P,f.props.children),d.return=p,p=d;break e}}else if(P.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===nt&&eu(E)===P.type){n(p,P.sibling),d=l(P,f.props),d.ref=_n(p,P,f),d.return=p,p=d;break e}n(p,P);break}else t(p,P);P=P.sibling}f.type===Ht?(d=Rt(f.props.children,p.mode,g,f.key),d.return=p,p=d):(g=Wr(f.type,f.key,f.props,null,p.mode,g),g.ref=_n(p,d,f),g.return=p,p=g)}return o(p);case Vt:e:{for(P=f.key;d!==null;){if(d.key===P)if(d.tag===4&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){n(p,d.sibling),d=l(d,f.children||[]),d.return=p,p=d;break e}else{n(p,d);break}else t(p,d);d=d.sibling}d=di(f,p.mode,g),d.return=p,p=d}return o(p);case nt:return P=f._init,k(p,d,P(f._payload),g)}if(Rn(f))return w(p,d,f,g);if(kn(f))return C(p,d,f,g);_r(p,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,d!==null&&d.tag===6?(n(p,d.sibling),d=l(d,f),d.return=p,p=d):(n(p,d),d=ci(f,p.mode,g),d.return=p,p=d),o(p)):n(p,d)}return k}var cn=Za(!0),Ya=Za(!1),pr={},Ae=Ct(pr),tr=Ct(pr),nr=Ct(pr);function Lt(e){if(e===pr)throw Error(S(174));return e}function Ao(e,t){switch(M(nr,t),M(tr,e),M(Ae,pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ji(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ji(t,e)}B(Ae),M(Ae,t)}function dn(){B(Ae),B(tr),B(nr)}function Xa(e){Lt(nr.current);var t=Lt(Ae.current),n=ji(t,e.type);t!==n&&(M(tr,e),M(Ae,n))}function Vo(e){tr.current===e&&(B(Ae),B(tr))}var A=Ct(0);function sl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var li=[];function Ho(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var Ur=Je.ReactCurrentDispatcher,ii=Je.ReactCurrentBatchConfig,Ot=0,V=null,X=null,q=null,ul=!1,$n=!1,rr=0,l1=0;function re(){throw Error(S(321))}function Wo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Me(e[n],t[n]))return!1;return!0}function Qo(e,t,n,r,l,i){if(Ot=i,V=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ur.current=e===null||e.memoizedState===null?u1:a1,e=n(r,l),$n){i=0;do{if($n=!1,rr=0,25<=i)throw Error(S(301));i+=1,q=X=null,t.updateQueue=null,Ur.current=c1,e=n(r,l)}while($n)}if(Ur.current=al,t=X!==null&&X.next!==null,Ot=0,q=X=V=null,ul=!1,t)throw Error(S(300));return e}function Ko(){var e=rr!==0;return rr=0,e}function Be(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return q===null?V.memoizedState=q=e:q=q.next=e,q}function Le(){if(X===null){var e=V.alternate;e=e!==null?e.memoizedState:null}else e=X.next;var t=q===null?V.memoizedState:q.next;if(t!==null)q=t,X=e;else{if(e===null)throw Error(S(310));X=e,e={memoizedState:X.memoizedState,baseState:X.baseState,baseQueue:X.baseQueue,queue:X.queue,next:null},q===null?V.memoizedState=q=e:q=q.next=e}return q}function lr(e,t){return typeof t=="function"?t(e):t}function oi(e){var t=Le(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=X,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var s=o=null,u=null,c=i;do{var h=c.lane;if((Ot&h)===h)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var m={lane:h,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(s=u=m,o=r):u=u.next=m,V.lanes|=h,Mt|=h}c=c.next}while(c!==null&&c!==i);u===null?o=r:u.next=s,Me(r,t.memoizedState)||(fe=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,V.lanes|=i,Mt|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function si(e){var t=Le(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);Me(i,t.memoizedState)||(fe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ga(){}function Ja(e,t){var n=V,r=Le(),l=t(),i=!Me(r.memoizedState,l);if(i&&(r.memoizedState=l,fe=!0),r=r.queue,Zo(ec.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||q!==null&&q.memoizedState.tag&1){if(n.flags|=2048,ir(9,ba.bind(null,n,r,l,t),void 0,null),b===null)throw Error(S(349));Ot&30||qa(n,t,l)}return l}function qa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=V.updateQueue,t===null?(t={lastEffect:null,stores:null},V.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ba(e,t,n,r){t.value=n,t.getSnapshot=r,tc(t)&&nc(e)}function ec(e,t,n){return n(function(){tc(t)&&nc(e)})}function tc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Me(e,n)}catch{return!0}}function nc(e){var t=Xe(e,1);t!==null&&Oe(t,e,1,-1)}function tu(e){var t=Be();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:lr,lastRenderedState:e},t.queue=e,e=e.dispatch=s1.bind(null,V,e),[t.memoizedState,e]}function ir(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=V.updateQueue,t===null?(t={lastEffect:null,stores:null},V.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function rc(){return Le().memoizedState}function $r(e,t,n,r){var l=Be();V.flags|=e,l.memoizedState=ir(1|t,n,void 0,r===void 0?null:r)}function Nl(e,t,n,r){var l=Le();r=r===void 0?null:r;var i=void 0;if(X!==null){var o=X.memoizedState;if(i=o.destroy,r!==null&&Wo(r,o.deps)){l.memoizedState=ir(t,n,i,r);return}}V.flags|=e,l.memoizedState=ir(1|t,n,i,r)}function nu(e,t){return $r(8390656,8,e,t)}function Zo(e,t){return Nl(2048,8,e,t)}function lc(e,t){return Nl(4,2,e,t)}function ic(e,t){return Nl(4,4,e,t)}function oc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sc(e,t,n){return n=n!=null?n.concat([e]):null,Nl(4,4,oc.bind(null,t,e),n)}function Yo(){}function uc(e,t){var n=Le();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ac(e,t){var n=Le();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function cc(e,t,n){return Ot&21?(Me(n,t)||(n=pa(),V.lanes|=n,Mt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,fe=!0),e.memoizedState=n)}function i1(e,t){var n=O;O=n!==0&&4>n?n:4,e(!0);var r=ii.transition;ii.transition={};try{e(!1),t()}finally{O=n,ii.transition=r}}function dc(){return Le().memoizedState}function o1(e,t,n){var r=mt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},fc(e))pc(t,n);else if(n=Ha(e,t,n,r),n!==null){var l=ue();Oe(n,e,r,l),hc(n,t,r)}}function s1(e,t,n){var r=mt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(fc(e))pc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,Me(s,o)){var u=t.interleaved;u===null?(l.next=l,Uo(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Ha(e,t,l,r),n!==null&&(l=ue(),Oe(n,e,r,l),hc(n,t,r))}}function fc(e){var t=e.alternate;return e===V||t!==null&&t===V}function pc(e,t){$n=ul=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jo(e,n)}}var al={readContext:_e,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},u1={readContext:_e,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:_e,useEffect:nu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$r(4194308,4,oc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $r(4194308,4,e,t)},useInsertionEffect:function(e,t){return $r(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=o1.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:tu,useDebugValue:Yo,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=tu(!1),t=e[0];return e=i1.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=Be();if(U){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));Ot&30||qa(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,nu(ec.bind(null,r,i,e),[e]),r.flags|=2048,ir(9,ba.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Be(),t=b.identifierPrefix;if(U){var n=Qe,r=We;n=(r&~(1<<32-ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=rr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=l1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},a1={readContext:_e,useCallback:uc,useContext:_e,useEffect:Zo,useImperativeHandle:sc,useInsertionEffect:lc,useLayoutEffect:ic,useMemo:ac,useReducer:oi,useRef:rc,useState:function(){return oi(lr)},useDebugValue:Yo,useDeferredValue:function(e){var t=Le();return cc(t,X.memoizedState,e)},useTransition:function(){var e=oi(lr)[0],t=Le().memoizedState;return[e,t]},useMutableSource:Ga,useSyncExternalStore:Ja,useId:dc,unstable_isNewReconciler:!1},c1={readContext:_e,useCallback:uc,useContext:_e,useEffect:Zo,useImperativeHandle:sc,useInsertionEffect:lc,useLayoutEffect:ic,useMemo:ac,useReducer:si,useRef:rc,useState:function(){return si(lr)},useDebugValue:Yo,useDeferredValue:function(e){var t=Le();return X===null?t.memoizedState=e:cc(t,X.memoizedState,e)},useTransition:function(){var e=si(lr)[0],t=Le().memoizedState;return[e,t]},useMutableSource:Ga,useSyncExternalStore:Ja,useId:dc,unstable_isNewReconciler:!1};function fn(e,t){try{var n="",r=t;do n+=Id(r),r=r.return;while(r);var l=n}catch(i){l=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ui(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Yi(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var d1=typeof WeakMap=="function"?WeakMap:Map;function mc(e,t,n){n=Ke(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){dl||(dl=!0,lo=r),Yi(e,t)},n}function vc(e,t,n){n=Ke(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Yi(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Yi(e,t),typeof r!="function"&&(ht===null?ht=new Set([this]):ht.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function ru(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new d1;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=j1.bind(null,e,t,n),t.then(e,e))}function lu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function iu(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ke(-1,1),t.tag=2,pt(n,t,1))),n.lanes|=1),e)}var f1=Je.ReactCurrentOwner,fe=!1;function se(e,t,n,r){t.child=e===null?Ya(t,null,n,r):cn(t,e.child,n,r)}function ou(e,t,n,r,l){n=n.render;var i=t.ref;return ln(t,l),r=Qo(e,t,n,r,i,l),n=Ko(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ge(e,t,l)):(U&&n&&Do(t),t.flags|=1,se(e,t,r,l),t.child)}function su(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!ns(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,gc(e,t,i,r,l)):(e=Wr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Jn,n(o,r)&&e.ref===t.ref)return Ge(e,t,l)}return t.flags|=1,e=vt(i,r),e.ref=t.ref,e.return=t,t.child=e}function gc(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Jn(i,r)&&e.ref===t.ref)if(fe=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(fe=!0);else return t.lanes=e.lanes,Ge(e,t,l)}return Xi(e,t,n,r,l)}function xc(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},M(bt,xe),xe|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,M(bt,xe),xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,M(bt,xe),xe|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,M(bt,xe),xe|=r;return se(e,t,l,n),t.child}function yc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Xi(e,t,n,r,l){var i=he(n)?Dt:oe.current;return i=un(t,i),ln(t,l),n=Qo(e,t,n,r,i,l),r=Ko(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ge(e,t,l)):(U&&r&&Do(t),t.flags|=1,se(e,t,n,l),t.child)}function uu(e,t,n,r,l){if(he(n)){var i=!0;tl(t)}else i=!1;if(ln(t,l),t.stateNode===null)Ar(e,t),Ka(t,n,r),Zi(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=_e(c):(c=he(n)?Dt:oe.current,c=un(t,c));var h=n.getDerivedStateFromProps,m=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";m||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||u!==c)&&bs(t,o,r,c),rt=!1;var v=t.memoizedState;o.state=v,ol(t,r,o,l),u=t.memoizedState,s!==r||v!==u||pe.current||rt?(typeof h=="function"&&(Ki(t,n,h,r),u=t.memoizedState),(s=rt||qs(t,n,s,r,v,u,c))?(m||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=c,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Wa(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Te(t.type,s),o.props=c,m=t.pendingProps,v=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=_e(u):(u=he(n)?Dt:oe.current,u=un(t,u));var x=n.getDerivedStateFromProps;(h=typeof x=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==m||v!==u)&&bs(t,o,r,u),rt=!1,v=t.memoizedState,o.state=v,ol(t,r,o,l);var w=t.memoizedState;s!==m||v!==w||pe.current||rt?(typeof x=="function"&&(Ki(t,n,x,r),w=t.memoizedState),(c=rt||qs(t,n,c,r,v,w,u)||!1)?(h||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=u,r=c):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return Gi(e,t,n,r,i,l)}function Gi(e,t,n,r,l,i){yc(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Zs(t,n,!1),Ge(e,t,i);r=t.stateNode,f1.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=cn(t,e.child,null,i),t.child=cn(t,null,s,i)):se(e,t,s,i),t.memoizedState=r.state,l&&Zs(t,n,!0),t.child}function wc(e){var t=e.stateNode;t.pendingContext?Ks(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ks(e,t.context,!1),Ao(e,t.containerInfo)}function au(e,t,n,r,l){return an(),Oo(l),t.flags|=256,se(e,t,n,r),t.child}var Ji={dehydrated:null,treeContext:null,retryLane:0};function qi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Cc(e,t,n){var r=t.pendingProps,l=A.current,i=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),M(A,l&1),e===null)return Wi(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Ll(o,r,0,null),e=Rt(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=qi(n),t.memoizedState=Ji,e):Xo(t,o));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return p1(e,t,o,r,s,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,s=l.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=vt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?i=vt(s,i):(i=Rt(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?qi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Ji,r}return i=e.child,e=i.sibling,r=vt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Xo(e,t){return t=Ll({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Lr(e,t,n,r){return r!==null&&Oo(r),cn(t,e.child,null,n),e=Xo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function p1(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ui(Error(S(422))),Lr(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Ll({mode:"visible",children:r.children},l,0,null),i=Rt(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&cn(t,e.child,null,o),t.child.memoizedState=qi(o),t.memoizedState=Ji,i);if(!(t.mode&1))return Lr(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(S(419)),r=ui(i,r,void 0),Lr(e,t,o,r)}if(s=(o&e.childLanes)!==0,fe||s){if(r=b,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Xe(e,l),Oe(r,e,l,-1))}return ts(),r=ui(Error(S(421))),Lr(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=N1.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,ye=ft(l.nextSibling),we=t,U=!0,De=null,e!==null&&(Ee[je++]=We,Ee[je++]=Qe,Ee[je++]=zt,We=e.id,Qe=e.overflow,zt=t),t=Xo(t,r.children),t.flags|=4096,t)}function cu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Qi(e.return,t,n)}function ai(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function Sc(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(se(e,t,r.children,n),r=A.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cu(e,n,t);else if(e.tag===19)cu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(M(A,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&sl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ai(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&sl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ai(t,!0,n,null,i);break;case"together":ai(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ar(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ge(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,n=vt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function h1(e,t,n){switch(t.tag){case 3:wc(t),an();break;case 5:Xa(t);break;case 1:he(t.type)&&tl(t);break;case 4:Ao(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;M(ll,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(M(A,A.current&1),t.flags|=128,null):n&t.child.childLanes?Cc(e,t,n):(M(A,A.current&1),e=Ge(e,t,n),e!==null?e.sibling:null);M(A,A.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Sc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),M(A,A.current),r)break;return null;case 22:case 23:return t.lanes=0,xc(e,t,n)}return Ge(e,t,n)}var kc,bi,Ec,jc;kc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};bi=function(){};Ec=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Lt(Ae.current);var i=null;switch(n){case"input":l=Ci(e,l),r=Ci(e,r),i=[];break;case"select":l=W({},l,{value:void 0}),r=W({},r,{value:void 0}),i=[];break;case"textarea":l=Ei(e,l),r=Ei(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}Ni(n,r);var o;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var s=l[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Wn.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(u!=null||s!=null))if(c==="style")if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(i=i||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Wn.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&I("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};jc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ln(e,t){if(!U)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function m1(e,t,n){var r=t.pendingProps;switch(zo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return le(t),null;case 1:return he(t.type)&&el(),le(t),null;case 3:return r=t.stateNode,dn(),B(pe),B(oe),Ho(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Pr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,De!==null&&(so(De),De=null))),bi(e,t),le(t),null;case 5:Vo(t);var l=Lt(nr.current);if(n=t.type,e!==null&&t.stateNode!=null)Ec(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(S(166));return le(t),null}if(e=Lt(Ae.current),Pr(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ue]=t,r[er]=i,e=(t.mode&1)!==0,n){case"dialog":I("cancel",r),I("close",r);break;case"iframe":case"object":case"embed":I("load",r);break;case"video":case"audio":for(l=0;l<zn.length;l++)I(zn[l],r);break;case"source":I("error",r);break;case"img":case"image":case"link":I("error",r),I("load",r);break;case"details":I("toggle",r);break;case"input":ys(r,i),I("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},I("invalid",r);break;case"textarea":Cs(r,i),I("invalid",r)}Ni(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var s=i[o];o==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&Nr(r.textContent,s,e),l=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&Nr(r.textContent,s,e),l=["children",""+s]):Wn.hasOwnProperty(o)&&s!=null&&o==="onScroll"&&I("scroll",r)}switch(n){case"input":xr(r),ws(r,i,!0);break;case"textarea":xr(r),Ss(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=br)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qu(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ue]=t,e[er]=r,kc(e,t,!1,!1),t.stateNode=e;e:{switch(o=Pi(n,r),n){case"dialog":I("cancel",e),I("close",e),l=r;break;case"iframe":case"object":case"embed":I("load",e),l=r;break;case"video":case"audio":for(l=0;l<zn.length;l++)I(zn[l],e);l=r;break;case"source":I("error",e),l=r;break;case"img":case"image":case"link":I("error",e),I("load",e),l=r;break;case"details":I("toggle",e),l=r;break;case"input":ys(e,r),l=Ci(e,r),I("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=W({},r,{value:void 0}),I("invalid",e);break;case"textarea":Cs(e,r),l=Ei(e,r),I("invalid",e);break;default:l=r}Ni(n,l),s=l;for(i in s)if(s.hasOwnProperty(i)){var u=s[i];i==="style"?ta(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&bu(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Qn(e,u):typeof u=="number"&&Qn(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Wn.hasOwnProperty(i)?u!=null&&i==="onScroll"&&I("scroll",e):u!=null&&yo(e,i,u,o))}switch(n){case"input":xr(e),ws(e,r,!1);break;case"textarea":xr(e),Ss(e);break;case"option":r.value!=null&&e.setAttribute("value",""+xt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?en(e,!!r.multiple,i,!1):r.defaultValue!=null&&en(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=br)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return le(t),null;case 6:if(e&&t.stateNode!=null)jc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(S(166));if(n=Lt(nr.current),Lt(Ae.current),Pr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ue]=t,(i=r.nodeValue!==n)&&(e=we,e!==null))switch(e.tag){case 3:Nr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Nr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ue]=t,t.stateNode=r}return le(t),null;case 13:if(B(A),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ye!==null&&t.mode&1&&!(t.flags&128))Va(),an(),t.flags|=98560,i=!1;else if(i=Pr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(S(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(S(317));i[Ue]=t}else an(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;le(t),i=!1}else De!==null&&(so(De),De=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||A.current&1?G===0&&(G=3):ts())),t.updateQueue!==null&&(t.flags|=4),le(t),null);case 4:return dn(),bi(e,t),e===null&&qn(t.stateNode.containerInfo),le(t),null;case 10:return Bo(t.type._context),le(t),null;case 17:return he(t.type)&&el(),le(t),null;case 19:if(B(A),i=t.memoizedState,i===null)return le(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Ln(i,!1);else{if(G!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=sl(e),o!==null){for(t.flags|=128,Ln(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return M(A,A.current&1|2),t.child}e=e.sibling}i.tail!==null&&Z()>pn&&(t.flags|=128,r=!0,Ln(i,!1),t.lanes=4194304)}else{if(!r)if(e=sl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ln(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!U)return le(t),null}else 2*Z()-i.renderingStartTime>pn&&n!==1073741824&&(t.flags|=128,r=!0,Ln(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Z(),t.sibling=null,n=A.current,M(A,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return es(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?xe&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function v1(e,t){switch(zo(t),t.tag){case 1:return he(t.type)&&el(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dn(),B(pe),B(oe),Ho(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vo(t),null;case 13:if(B(A),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));an()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(A),null;case 4:return dn(),null;case 10:return Bo(t.type._context),null;case 22:case 23:return es(),null;case 24:return null;default:return null}}var Fr=!1,ie=!1,g1=typeof WeakSet=="function"?WeakSet:Set,j=null;function qt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Q(e,t,r)}else n.current=null}function eo(e,t,n){try{n()}catch(r){Q(e,t,r)}}var du=!1;function x1(e,t){if(Ii=Gr,e=La(),Ro(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,c=0,h=0,m=e,v=null;t:for(;;){for(var x;m!==n||l!==0&&m.nodeType!==3||(s=o+l),m!==i||r!==0&&m.nodeType!==3||(u=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(x=m.firstChild)!==null;)v=m,m=x;for(;;){if(m===e)break t;if(v===n&&++c===l&&(s=o),v===i&&++h===r&&(u=o),(x=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=x}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bi={focusedElem:e,selectionRange:n},Gr=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var C=w.memoizedProps,k=w.memoizedState,p=t.stateNode,d=p.getSnapshotBeforeUpdate(t.elementType===t.type?C:Te(t.type,C),k);p.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(g){Q(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return w=du,du=!1,w}function An(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&eo(t,n,i)}l=l.next}while(l!==r)}}function Pl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function to(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Nc(e){var t=e.alternate;t!==null&&(e.alternate=null,Nc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[er],delete t[Ai],delete t[e1],delete t[t1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pc(e){return e.tag===5||e.tag===3||e.tag===4}function fu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function no(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=br));else if(r!==4&&(e=e.child,e!==null))for(no(e,t,n),e=e.sibling;e!==null;)no(e,t,n),e=e.sibling}function ro(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ro(e,t,n),e=e.sibling;e!==null;)ro(e,t,n),e=e.sibling}var ee=null,Re=!1;function tt(e,t,n){for(n=n.child;n!==null;)_c(e,t,n),n=n.sibling}function _c(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(yl,n)}catch{}switch(n.tag){case 5:ie||qt(n,t);case 6:var r=ee,l=Re;ee=null,tt(e,t,n),ee=r,Re=l,ee!==null&&(Re?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Re?(e=ee,n=n.stateNode,e.nodeType===8?ni(e.parentNode,n):e.nodeType===1&&ni(e,n),Xn(e)):ni(ee,n.stateNode));break;case 4:r=ee,l=Re,ee=n.stateNode.containerInfo,Re=!0,tt(e,t,n),ee=r,Re=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&eo(n,t,o),l=l.next}while(l!==r)}tt(e,t,n);break;case 1:if(!ie&&(qt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Q(n,t,s)}tt(e,t,n);break;case 21:tt(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,tt(e,t,n),ie=r):tt(e,t,n);break;default:tt(e,t,n)}}function pu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new g1),t.forEach(function(r){var l=P1.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Fe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 5:ee=s.stateNode,Re=!1;break e;case 3:ee=s.stateNode.containerInfo,Re=!0;break e;case 4:ee=s.stateNode.containerInfo,Re=!0;break e}s=s.return}if(ee===null)throw Error(S(160));_c(i,o,l),ee=null,Re=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(c){Q(l,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Lc(t,e),t=t.sibling}function Lc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fe(t,e),Ie(e),r&4){try{An(3,e,e.return),Pl(3,e)}catch(C){Q(e,e.return,C)}try{An(5,e,e.return)}catch(C){Q(e,e.return,C)}}break;case 1:Fe(t,e),Ie(e),r&512&&n!==null&&qt(n,n.return);break;case 5:if(Fe(t,e),Ie(e),r&512&&n!==null&&qt(n,n.return),e.flags&32){var l=e.stateNode;try{Qn(l,"")}catch(C){Q(e,e.return,C)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&Gu(l,i),Pi(s,o);var c=Pi(s,i);for(o=0;o<u.length;o+=2){var h=u[o],m=u[o+1];h==="style"?ta(l,m):h==="dangerouslySetInnerHTML"?bu(l,m):h==="children"?Qn(l,m):yo(l,h,m,c)}switch(s){case"input":Si(l,i);break;case"textarea":Ju(l,i);break;case"select":var v=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var x=i.value;x!=null?en(l,!!i.multiple,x,!1):v!==!!i.multiple&&(i.defaultValue!=null?en(l,!!i.multiple,i.defaultValue,!0):en(l,!!i.multiple,i.multiple?[]:"",!1))}l[er]=i}catch(C){Q(e,e.return,C)}}break;case 6:if(Fe(t,e),Ie(e),r&4){if(e.stateNode===null)throw Error(S(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(C){Q(e,e.return,C)}}break;case 3:if(Fe(t,e),Ie(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xn(t.containerInfo)}catch(C){Q(e,e.return,C)}break;case 4:Fe(t,e),Ie(e);break;case 13:Fe(t,e),Ie(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(qo=Z())),r&4&&pu(e);break;case 22:if(h=n!==null&&n.memoizedState!==null,e.mode&1?(ie=(c=ie)||h,Fe(t,e),ie=c):Fe(t,e),Ie(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!h&&e.mode&1)for(j=e,h=e.child;h!==null;){for(m=j=h;j!==null;){switch(v=j,x=v.child,v.tag){case 0:case 11:case 14:case 15:An(4,v,v.return);break;case 1:qt(v,v.return);var w=v.stateNode;if(typeof w.componentWillUnmount=="function"){r=v,n=v.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(C){Q(r,n,C)}}break;case 5:qt(v,v.return);break;case 22:if(v.memoizedState!==null){mu(m);continue}}x!==null?(x.return=v,j=x):mu(m)}h=h.sibling}e:for(h=null,m=e;;){if(m.tag===5){if(h===null){h=m;try{l=m.stateNode,c?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=m.stateNode,u=m.memoizedProps.style,o=u!=null&&u.hasOwnProperty("display")?u.display:null,s.style.display=ea("display",o))}catch(C){Q(e,e.return,C)}}}else if(m.tag===6){if(h===null)try{m.stateNode.nodeValue=c?"":m.memoizedProps}catch(C){Q(e,e.return,C)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;h===m&&(h=null),m=m.return}h===m&&(h=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Fe(t,e),Ie(e),r&4&&pu(e);break;case 21:break;default:Fe(t,e),Ie(e)}}function Ie(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Pc(n)){var r=n;break e}n=n.return}throw Error(S(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Qn(l,""),r.flags&=-33);var i=fu(e);ro(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,s=fu(e);no(e,s,o);break;default:throw Error(S(161))}}catch(u){Q(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function y1(e,t,n){j=e,Fc(e)}function Fc(e,t,n){for(var r=(e.mode&1)!==0;j!==null;){var l=j,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||Fr;if(!o){var s=l.alternate,u=s!==null&&s.memoizedState!==null||ie;s=Fr;var c=ie;if(Fr=o,(ie=u)&&!c)for(j=l;j!==null;)o=j,u=o.child,o.tag===22&&o.memoizedState!==null?vu(l):u!==null?(u.return=o,j=u):vu(l);for(;i!==null;)j=i,Fc(i),i=i.sibling;j=l,Fr=s,ie=c}hu(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,j=i):hu(e)}}function hu(e){for(;j!==null;){var t=j;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ie||Pl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ie)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Te(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Js(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Js(t,o,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var h=c.memoizedState;if(h!==null){var m=h.dehydrated;m!==null&&Xn(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(S(163))}ie||t.flags&512&&to(t)}catch(v){Q(t,t.return,v)}}if(t===e){j=null;break}if(n=t.sibling,n!==null){n.return=t.return,j=n;break}j=t.return}}function mu(e){for(;j!==null;){var t=j;if(t===e){j=null;break}var n=t.sibling;if(n!==null){n.return=t.return,j=n;break}j=t.return}}function vu(e){for(;j!==null;){var t=j;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Pl(4,t)}catch(u){Q(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){Q(t,l,u)}}var i=t.return;try{to(t)}catch(u){Q(t,i,u)}break;case 5:var o=t.return;try{to(t)}catch(u){Q(t,o,u)}}}catch(u){Q(t,t.return,u)}if(t===e){j=null;break}var s=t.sibling;if(s!==null){s.return=t.return,j=s;break}j=t.return}}var w1=Math.ceil,cl=Je.ReactCurrentDispatcher,Go=Je.ReactCurrentOwner,Pe=Je.ReactCurrentBatchConfig,z=0,b=null,Y=null,te=0,xe=0,bt=Ct(0),G=0,or=null,Mt=0,_l=0,Jo=0,Vn=null,de=null,qo=0,pn=1/0,Ve=null,dl=!1,lo=null,ht=null,Tr=!1,st=null,fl=0,Hn=0,io=null,Vr=-1,Hr=0;function ue(){return z&6?Z():Vr!==-1?Vr:Vr=Z()}function mt(e){return e.mode&1?z&2&&te!==0?te&-te:r1.transition!==null?(Hr===0&&(Hr=pa()),Hr):(e=O,e!==0||(e=window.event,e=e===void 0?16:wa(e.type)),e):1}function Oe(e,t,n,r){if(50<Hn)throw Hn=0,io=null,Error(S(185));cr(e,n,r),(!(z&2)||e!==b)&&(e===b&&(!(z&2)&&(_l|=n),G===4&&it(e,te)),me(e,r),n===1&&z===0&&!(t.mode&1)&&(pn=Z()+500,El&&St()))}function me(e,t){var n=e.callbackNode;nf(e,t);var r=Xr(e,e===b?te:0);if(r===0)n!==null&&js(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&js(n),t===1)e.tag===0?n1(gu.bind(null,e)):Ua(gu.bind(null,e)),qf(function(){!(z&6)&&St()}),n=null;else{switch(ha(r)){case 1:n=Eo;break;case 4:n=da;break;case 16:n=Yr;break;case 536870912:n=fa;break;default:n=Yr}n=Bc(n,Tc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Tc(e,t){if(Vr=-1,Hr=0,z&6)throw Error(S(327));var n=e.callbackNode;if(on()&&e.callbackNode!==n)return null;var r=Xr(e,e===b?te:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=pl(e,r);else{t=r;var l=z;z|=2;var i=Dc();(b!==e||te!==t)&&(Ve=null,pn=Z()+500,Tt(e,t));do try{k1();break}catch(s){Rc(e,s)}while(!0);Io(),cl.current=i,z=l,Y!==null?t=0:(b=null,te=0,t=G)}if(t!==0){if(t===2&&(l=Ri(e),l!==0&&(r=l,t=oo(e,l))),t===1)throw n=or,Tt(e,0),it(e,r),me(e,Z()),n;if(t===6)it(e,r);else{if(l=e.current.alternate,!(r&30)&&!C1(l)&&(t=pl(e,r),t===2&&(i=Ri(e),i!==0&&(r=i,t=oo(e,i))),t===1))throw n=or,Tt(e,0),it(e,r),me(e,Z()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(S(345));case 2:Nt(e,de,Ve);break;case 3:if(it(e,r),(r&130023424)===r&&(t=qo+500-Z(),10<t)){if(Xr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ue(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=$i(Nt.bind(null,e,de,Ve),t);break}Nt(e,de,Ve);break;case 4:if(it(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-ze(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*w1(r/1960))-r,10<r){e.timeoutHandle=$i(Nt.bind(null,e,de,Ve),r);break}Nt(e,de,Ve);break;case 5:Nt(e,de,Ve);break;default:throw Error(S(329))}}}return me(e,Z()),e.callbackNode===n?Tc.bind(null,e):null}function oo(e,t){var n=Vn;return e.current.memoizedState.isDehydrated&&(Tt(e,t).flags|=256),e=pl(e,t),e!==2&&(t=de,de=n,t!==null&&so(t)),e}function so(e){de===null?de=e:de.push.apply(de,e)}function C1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!Me(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function it(e,t){for(t&=~Jo,t&=~_l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ze(t),r=1<<n;e[n]=-1,t&=~r}}function gu(e){if(z&6)throw Error(S(327));on();var t=Xr(e,0);if(!(t&1))return me(e,Z()),null;var n=pl(e,t);if(e.tag!==0&&n===2){var r=Ri(e);r!==0&&(t=r,n=oo(e,r))}if(n===1)throw n=or,Tt(e,0),it(e,t),me(e,Z()),n;if(n===6)throw Error(S(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Nt(e,de,Ve),me(e,Z()),null}function bo(e,t){var n=z;z|=1;try{return e(t)}finally{z=n,z===0&&(pn=Z()+500,El&&St())}}function It(e){st!==null&&st.tag===0&&!(z&6)&&on();var t=z;z|=1;var n=Pe.transition,r=O;try{if(Pe.transition=null,O=1,e)return e()}finally{O=r,Pe.transition=n,z=t,!(z&6)&&St()}}function es(){xe=bt.current,B(bt)}function Tt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Jf(n)),Y!==null)for(n=Y.return;n!==null;){var r=n;switch(zo(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&el();break;case 3:dn(),B(pe),B(oe),Ho();break;case 5:Vo(r);break;case 4:dn();break;case 13:B(A);break;case 19:B(A);break;case 10:Bo(r.type._context);break;case 22:case 23:es()}n=n.return}if(b=e,Y=e=vt(e.current,null),te=xe=t,G=0,or=null,Jo=_l=Mt=0,de=Vn=null,_t!==null){for(t=0;t<_t.length;t++)if(n=_t[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}_t=null}return e}function Rc(e,t){do{var n=Y;try{if(Io(),Ur.current=al,ul){for(var r=V.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}ul=!1}if(Ot=0,q=X=V=null,$n=!1,rr=0,Go.current=null,n===null||n.return===null){G=1,or=t,Y=null;break}e:{var i=e,o=n.return,s=n,u=t;if(t=te,s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,h=s,m=h.tag;if(!(h.mode&1)&&(m===0||m===11||m===15)){var v=h.alternate;v?(h.updateQueue=v.updateQueue,h.memoizedState=v.memoizedState,h.lanes=v.lanes):(h.updateQueue=null,h.memoizedState=null)}var x=lu(o);if(x!==null){x.flags&=-257,iu(x,o,s,i,t),x.mode&1&&ru(i,c,t),t=x,u=c;var w=t.updateQueue;if(w===null){var C=new Set;C.add(u),t.updateQueue=C}else w.add(u);break e}else{if(!(t&1)){ru(i,c,t),ts();break e}u=Error(S(426))}}else if(U&&s.mode&1){var k=lu(o);if(k!==null){!(k.flags&65536)&&(k.flags|=256),iu(k,o,s,i,t),Oo(fn(u,s));break e}}i=u=fn(u,s),G!==4&&(G=2),Vn===null?Vn=[i]:Vn.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=mc(i,u,t);Gs(i,p);break e;case 1:s=u;var d=i.type,f=i.stateNode;if(!(i.flags&128)&&(typeof d.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(ht===null||!ht.has(f)))){i.flags|=65536,t&=-t,i.lanes|=t;var g=vc(i,s,t);Gs(i,g);break e}}i=i.return}while(i!==null)}Oc(n)}catch(E){t=E,Y===n&&n!==null&&(Y=n=n.return);continue}break}while(!0)}function Dc(){var e=cl.current;return cl.current=al,e===null?al:e}function ts(){(G===0||G===3||G===2)&&(G=4),b===null||!(Mt&268435455)&&!(_l&268435455)||it(b,te)}function pl(e,t){var n=z;z|=2;var r=Dc();(b!==e||te!==t)&&(Ve=null,Tt(e,t));do try{S1();break}catch(l){Rc(e,l)}while(!0);if(Io(),z=n,cl.current=r,Y!==null)throw Error(S(261));return b=null,te=0,G}function S1(){for(;Y!==null;)zc(Y)}function k1(){for(;Y!==null&&!Zd();)zc(Y)}function zc(e){var t=Ic(e.alternate,e,xe);e.memoizedProps=e.pendingProps,t===null?Oc(e):Y=t,Go.current=null}function Oc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=v1(n,t),n!==null){n.flags&=32767,Y=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{G=6,Y=null;return}}else if(n=m1(n,t,xe),n!==null){Y=n;return}if(t=t.sibling,t!==null){Y=t;return}Y=t=e}while(t!==null);G===0&&(G=5)}function Nt(e,t,n){var r=O,l=Pe.transition;try{Pe.transition=null,O=1,E1(e,t,n,r)}finally{Pe.transition=l,O=r}return null}function E1(e,t,n,r){do on();while(st!==null);if(z&6)throw Error(S(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(S(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(rf(e,i),e===b&&(Y=b=null,te=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Tr||(Tr=!0,Bc(Yr,function(){return on(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Pe.transition,Pe.transition=null;var o=O;O=1;var s=z;z|=4,Go.current=null,x1(e,n),Lc(n,e),Wf(Bi),Gr=!!Ii,Bi=Ii=null,e.current=n,y1(n),Yd(),z=s,O=o,Pe.transition=i}else e.current=n;if(Tr&&(Tr=!1,st=e,fl=l),i=e.pendingLanes,i===0&&(ht=null),Jd(n.stateNode),me(e,Z()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(dl)throw dl=!1,e=lo,lo=null,e;return fl&1&&e.tag!==0&&on(),i=e.pendingLanes,i&1?e===io?Hn++:(Hn=0,io=e):Hn=0,St(),null}function on(){if(st!==null){var e=ha(fl),t=Pe.transition,n=O;try{if(Pe.transition=null,O=16>e?16:e,st===null)var r=!1;else{if(e=st,st=null,fl=0,z&6)throw Error(S(331));var l=z;for(z|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var s=i.deletions;if(s!==null){for(var u=0;u<s.length;u++){var c=s[u];for(j=c;j!==null;){var h=j;switch(h.tag){case 0:case 11:case 15:An(8,h,i)}var m=h.child;if(m!==null)m.return=h,j=m;else for(;j!==null;){h=j;var v=h.sibling,x=h.return;if(Nc(h),h===c){j=null;break}if(v!==null){v.return=x,j=v;break}j=x}}}var w=i.alternate;if(w!==null){var C=w.child;if(C!==null){w.child=null;do{var k=C.sibling;C.sibling=null,C=k}while(C!==null)}}j=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,j=o;else e:for(;j!==null;){if(i=j,i.flags&2048)switch(i.tag){case 0:case 11:case 15:An(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,j=p;break e}j=i.return}}var d=e.current;for(j=d;j!==null;){o=j;var f=o.child;if(o.subtreeFlags&2064&&f!==null)f.return=o,j=f;else e:for(o=d;j!==null;){if(s=j,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Pl(9,s)}}catch(E){Q(s,s.return,E)}if(s===o){j=null;break e}var g=s.sibling;if(g!==null){g.return=s.return,j=g;break e}j=s.return}}if(z=l,St(),$e&&typeof $e.onPostCommitFiberRoot=="function")try{$e.onPostCommitFiberRoot(yl,e)}catch{}r=!0}return r}finally{O=n,Pe.transition=t}}return!1}function xu(e,t,n){t=fn(n,t),t=mc(e,t,1),e=pt(e,t,1),t=ue(),e!==null&&(cr(e,1,t),me(e,t))}function Q(e,t,n){if(e.tag===3)xu(e,e,n);else for(;t!==null;){if(t.tag===3){xu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ht===null||!ht.has(r))){e=fn(n,e),e=vc(t,e,1),t=pt(t,e,1),e=ue(),t!==null&&(cr(t,1,e),me(t,e));break}}t=t.return}}function j1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ue(),e.pingedLanes|=e.suspendedLanes&n,b===e&&(te&n)===n&&(G===4||G===3&&(te&130023424)===te&&500>Z()-qo?Tt(e,0):Jo|=n),me(e,t)}function Mc(e,t){t===0&&(e.mode&1?(t=Cr,Cr<<=1,!(Cr&130023424)&&(Cr=4194304)):t=1);var n=ue();e=Xe(e,t),e!==null&&(cr(e,t,n),me(e,n))}function N1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Mc(e,n)}function P1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Mc(e,n)}var Ic;Ic=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,h1(e,t,n);fe=!!(e.flags&131072)}else fe=!1,U&&t.flags&1048576&&$a(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ar(e,t),e=t.pendingProps;var l=un(t,oe.current);ln(t,n),l=Qo(null,t,r,e,l,n);var i=Ko();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(i=!0,tl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,$o(t),l.updater=jl,t.stateNode=l,l._reactInternals=t,Zi(t,r,e,n),t=Gi(null,t,r,!0,i,n)):(t.tag=0,U&&i&&Do(t),se(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ar(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=L1(r),e=Te(r,e),l){case 0:t=Xi(null,t,r,e,n);break e;case 1:t=uu(null,t,r,e,n);break e;case 11:t=ou(null,t,r,e,n);break e;case 14:t=su(null,t,r,Te(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),Xi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),uu(e,t,r,l,n);case 3:e:{if(wc(t),e===null)throw Error(S(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Wa(e,t),ol(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=fn(Error(S(423)),t),t=au(e,t,r,n,l);break e}else if(r!==l){l=fn(Error(S(424)),t),t=au(e,t,r,n,l);break e}else for(ye=ft(t.stateNode.containerInfo.firstChild),we=t,U=!0,De=null,n=Ya(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(an(),r===l){t=Ge(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return Xa(t),e===null&&Wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ui(r,l)?o=null:i!==null&&Ui(r,i)&&(t.flags|=32),yc(e,t),se(e,t,o,n),t.child;case 6:return e===null&&Wi(t),null;case 13:return Cc(e,t,n);case 4:return Ao(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cn(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),ou(e,t,r,l,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,M(ll,r._currentValue),r._currentValue=o,i!==null)if(Me(i.value,o)){if(i.children===l.children&&!pe.current){t=Ge(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Ke(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?u.next=u:(u.next=h.next,h.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Qi(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Qi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}se(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,ln(t,n),l=_e(l),r=r(l),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,l=Te(r,t.pendingProps),l=Te(r.type,l),su(e,t,r,l,n);case 15:return gc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Te(r,l),Ar(e,t),t.tag=1,he(r)?(e=!0,tl(t)):e=!1,ln(t,n),Ka(t,r,l),Zi(t,r,l,n),Gi(null,t,r,!0,e,n);case 19:return Sc(e,t,n);case 22:return xc(e,t,n)}throw Error(S(156,t.tag))};function Bc(e,t){return ca(e,t)}function _1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(e,t,n,r){return new _1(e,t,n,r)}function ns(e){return e=e.prototype,!(!e||!e.isReactComponent)}function L1(e){if(typeof e=="function")return ns(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Co)return 11;if(e===So)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=Ne(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")ns(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ht:return Rt(n.children,l,i,t);case wo:o=8,l|=8;break;case gi:return e=Ne(12,n,t,l|2),e.elementType=gi,e.lanes=i,e;case xi:return e=Ne(13,n,t,l),e.elementType=xi,e.lanes=i,e;case yi:return e=Ne(19,n,t,l),e.elementType=yi,e.lanes=i,e;case Zu:return Ll(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qu:o=10;break e;case Ku:o=9;break e;case Co:o=11;break e;case So:o=14;break e;case nt:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ne(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Rt(e,t,n,r){return e=Ne(7,e,r,t),e.lanes=n,e}function Ll(e,t,n,r){return e=Ne(22,e,r,t),e.elementType=Zu,e.lanes=n,e.stateNode={isHidden:!1},e}function ci(e,t,n){return e=Ne(6,e,null,t),e.lanes=n,e}function di(e,t,n){return t=Ne(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function F1(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ql(0),this.expirationTimes=Ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ql(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function rs(e,t,n,r,l,i,o,s,u){return e=new F1(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ne(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$o(i),e}function T1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Vt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Uc(e){if(!e)return yt;e=e._reactInternals;e:{if(Ut(e)!==e||e.tag!==1)throw Error(S(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(he(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(S(171))}if(e.tag===1){var n=e.type;if(he(n))return Ba(e,n,t)}return t}function $c(e,t,n,r,l,i,o,s,u){return e=rs(n,r,!0,e,l,i,o,s,u),e.context=Uc(null),n=e.current,r=ue(),l=mt(n),i=Ke(r,l),i.callback=t??null,pt(n,i,l),e.current.lanes=l,cr(e,l,r),me(e,r),e}function Fl(e,t,n,r){var l=t.current,i=ue(),o=mt(l);return n=Uc(n),t.context===null?t.context=n:t.pendingContext=n,t=Ke(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=pt(l,t,o),e!==null&&(Oe(e,l,o,i),Br(e,l,o)),o}function hl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function yu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ls(e,t){yu(e,t),(e=e.alternate)&&yu(e,t)}function R1(){return null}var Ac=typeof reportError=="function"?reportError:function(e){console.error(e)};function is(e){this._internalRoot=e}Tl.prototype.render=is.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(S(409));Fl(e,t,null,null)};Tl.prototype.unmount=is.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;It(function(){Fl(null,e,null,null)}),t[Ye]=null}};function Tl(e){this._internalRoot=e}Tl.prototype.unstable_scheduleHydration=function(e){if(e){var t=ga();e={blockedOn:null,target:e,priority:t};for(var n=0;n<lt.length&&t!==0&&t<lt[n].priority;n++);lt.splice(n,0,e),n===0&&ya(e)}};function os(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Rl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function wu(){}function D1(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var c=hl(o);i.call(c)}}var o=$c(t,r,e,0,null,!1,!1,"",wu);return e._reactRootContainer=o,e[Ye]=o.current,qn(e.nodeType===8?e.parentNode:e),It(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var s=r;r=function(){var c=hl(u);s.call(c)}}var u=rs(e,0,!1,null,null,!1,!1,"",wu);return e._reactRootContainer=u,e[Ye]=u.current,qn(e.nodeType===8?e.parentNode:e),It(function(){Fl(t,u,n,r)}),u}function Dl(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var s=l;l=function(){var u=hl(o);s.call(u)}}Fl(t,o,e,l)}else o=D1(n,t,e,l,r);return hl(o)}ma=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Dn(t.pendingLanes);n!==0&&(jo(t,n|1),me(t,Z()),!(z&6)&&(pn=Z()+500,St()))}break;case 13:It(function(){var r=Xe(e,1);if(r!==null){var l=ue();Oe(r,e,1,l)}}),ls(e,1)}};No=function(e){if(e.tag===13){var t=Xe(e,134217728);if(t!==null){var n=ue();Oe(t,e,134217728,n)}ls(e,134217728)}};va=function(e){if(e.tag===13){var t=mt(e),n=Xe(e,t);if(n!==null){var r=ue();Oe(n,e,t,r)}ls(e,t)}};ga=function(){return O};xa=function(e,t){var n=O;try{return O=e,t()}finally{O=n}};Li=function(e,t,n){switch(t){case"input":if(Si(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=kl(r);if(!l)throw Error(S(90));Xu(r),Si(r,l)}}}break;case"textarea":Ju(e,n);break;case"select":t=n.value,t!=null&&en(e,!!n.multiple,t,!1)}};la=bo;ia=It;var z1={usingClientEntryPoint:!1,Events:[fr,Zt,kl,na,ra,bo]},Fn={findFiberByHostInstance:Pt,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},O1={bundleType:Fn.bundleType,version:Fn.version,rendererPackageName:Fn.rendererPackageName,rendererConfig:Fn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Je.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ua(e),e===null?null:e.stateNode},findFiberByHostInstance:Fn.findFiberByHostInstance||R1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rr.isDisabled&&Rr.supportsFiber)try{yl=Rr.inject(O1),$e=Rr}catch{}}Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z1;Se.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!os(t))throw Error(S(200));return T1(e,t,null,n)};Se.createRoot=function(e,t){if(!os(e))throw Error(S(299));var n=!1,r="",l=Ac;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=rs(e,1,!1,null,null,n,!1,r,l),e[Ye]=t.current,qn(e.nodeType===8?e.parentNode:e),new is(t)};Se.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(S(188)):(e=Object.keys(e).join(","),Error(S(268,e)));return e=ua(t),e=e===null?null:e.stateNode,e};Se.flushSync=function(e){return It(e)};Se.hydrate=function(e,t,n){if(!Rl(t))throw Error(S(200));return Dl(null,e,t,!0,n)};Se.hydrateRoot=function(e,t,n){if(!os(e))throw Error(S(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Ac;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=$c(t,null,e,1,n??null,l,!1,i,o),e[Ye]=t.current,qn(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Tl(t)};Se.render=function(e,t,n){if(!Rl(t))throw Error(S(200));return Dl(null,e,t,!1,n)};Se.unmountComponentAtNode=function(e){if(!Rl(e))throw Error(S(40));return e._reactRootContainer?(It(function(){Dl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ye]=null})}),!0):!1};Se.unstable_batchedUpdates=bo;Se.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Rl(n))throw Error(S(200));if(e==null||e._reactInternals===void 0)throw Error(S(38));return Dl(e,t,n,!1,r)};Se.version="18.2.0-next-9e3b772b8-20220608";function Vc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vc)}catch(e){console.error(e)}}Vc(),$u.exports=Se;var M1=$u.exports,Cu=M1;mi.createRoot=Cu.createRoot,mi.hydrateRoot=Cu.hydrateRoot;/**
 * @remix-run/router v1.15.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sr.apply(this,arguments)}var ut;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ut||(ut={}));const Su="popstate";function I1(e){e===void 0&&(e={});function t(r,l){let{pathname:i,search:o,hash:s}=r.location;return uo("",{pathname:i,search:o,hash:s},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:ml(l)}return U1(t,n,null,e)}function H(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Hc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function B1(){return Math.random().toString(36).substr(2,8)}function ku(e,t){return{usr:e.state,key:e.key,idx:t}}function uo(e,t,n,r){return n===void 0&&(n=null),sr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?xn(t):t,{state:n,key:t&&t.key||r||B1()})}function ml(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function xn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function U1(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,s=ut.Pop,u=null,c=h();c==null&&(c=0,o.replaceState(sr({},o.state,{idx:c}),""));function h(){return(o.state||{idx:null}).idx}function m(){s=ut.Pop;let k=h(),p=k==null?null:k-c;c=k,u&&u({action:s,location:C.location,delta:p})}function v(k,p){s=ut.Push;let d=uo(C.location,k,p);n&&n(d,k),c=h()+1;let f=ku(d,c),g=C.createHref(d);try{o.pushState(f,"",g)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;l.location.assign(g)}i&&u&&u({action:s,location:C.location,delta:1})}function x(k,p){s=ut.Replace;let d=uo(C.location,k,p);n&&n(d,k),c=h();let f=ku(d,c),g=C.createHref(d);o.replaceState(f,"",g),i&&u&&u({action:s,location:C.location,delta:0})}function w(k){let p=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof k=="string"?k:ml(k);return d=d.replace(/ $/,"%20"),H(p,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,p)}let C={get action(){return s},get location(){return e(l,o)},listen(k){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Su,m),u=k,()=>{l.removeEventListener(Su,m),u=null}},createHref(k){return t(l,k)},createURL:w,encodeLocation(k){let p=w(k);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:v,replace:x,go(k){return o.go(k)}};return C}var Eu;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Eu||(Eu={}));function $1(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?xn(t):t,l=hn(r.pathname||"/",n);if(l==null)return null;let i=Wc(e);A1(i);let o=null;for(let s=0;o==null&&s<i.length;++s){let u=q1(l);o=G1(i[s],u)}return o}function Wc(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let l=(i,o,s)=>{let u={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(H(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=gt([r,u.relativePath]),h=n.concat(u);i.children&&i.children.length>0&&(H(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Wc(i.children,t,h,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Y1(c,i.index),routesMeta:h})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))l(i,o);else for(let u of Qc(i.path))l(i,o,u)}),t}function Qc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=Qc(r.join("/")),s=[];return s.push(...o.map(u=>u===""?i:[i,u].join("/"))),l&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function A1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:X1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const V1=/^:[\w-]+$/,H1=3,W1=2,Q1=1,K1=10,Z1=-2,ju=e=>e==="*";function Y1(e,t){let n=e.split("/"),r=n.length;return n.some(ju)&&(r+=Z1),t&&(r+=W1),n.filter(l=>!ju(l)).reduce((l,i)=>l+(V1.test(i)?H1:i===""?Q1:K1),r)}function X1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function G1(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o<n.length;++o){let s=n[o],u=o===n.length-1,c=l==="/"?t:t.slice(l.length)||"/",h=ao({path:s.relativePath,caseSensitive:s.caseSensitive,end:u},c);if(!h)return null;Object.assign(r,h.params);let m=s.route;i.push({params:r,pathname:gt([l,h.pathname]),pathnameBase:np(gt([l,h.pathnameBase])),route:m}),h.pathnameBase!=="/"&&(l=gt([l,h.pathnameBase]))}return i}function ao(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=J1(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let i=l[0],o=i.replace(/(.)\/+$/,"$1"),s=l.slice(1);return{params:r.reduce((c,h,m)=>{let{paramName:v,isOptional:x}=h;if(v==="*"){let C=s[m]||"";o=i.slice(0,i.length-C.length).replace(/(.)\/+$/,"$1")}const w=s[m];return x&&!w?c[v]=void 0:c[v]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:e}}function J1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Hc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function q1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Hc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function hn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function b1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?xn(e):e;return{pathname:n?n.startsWith("/")?n:ep(n,t):t,search:rp(r),hash:lp(l)}}function ep(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function fi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function tp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ss(e,t){let n=tp(e);return t?n.map((r,l)=>l===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function us(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=xn(e):(l=sr({},e),H(!l.pathname||!l.pathname.includes("?"),fi("?","pathname","search",l)),H(!l.pathname||!l.pathname.includes("#"),fi("#","pathname","hash",l)),H(!l.search||!l.search.includes("#"),fi("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,s;if(o==null)s=n;else{let m=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),m-=1;l.pathname=v.join("/")}s=m>=0?t[m]:"/"}let u=b1(l,s),c=o&&o!=="/"&&o.endsWith("/"),h=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||h)&&(u.pathname+="/"),u}const gt=e=>e.join("/").replace(/\/\/+/g,"/"),np=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rp=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ip(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Kc=["post","put","patch","delete"];new Set(Kc);const op=["get",...Kc];new Set(op);/**
 * React Router v6.22.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ur.apply(this,arguments)}const zl=y.createContext(null),Zc=y.createContext(null),qe=y.createContext(null),Ol=y.createContext(null),be=y.createContext({outlet:null,matches:[],isDataRoute:!1}),Yc=y.createContext(null);function sp(e,t){let{relative:n}=t===void 0?{}:t;yn()||H(!1);let{basename:r,navigator:l}=y.useContext(qe),{hash:i,pathname:o,search:s}=Ml(e,{relative:n}),u=o;return r!=="/"&&(u=o==="/"?r:gt([r,o])),l.createHref({pathname:u,search:s,hash:i})}function yn(){return y.useContext(Ol)!=null}function wn(){return yn()||H(!1),y.useContext(Ol).location}function Xc(e){y.useContext(qe).static||y.useLayoutEffect(e)}function as(){let{isDataRoute:e}=y.useContext(be);return e?wp():up()}function up(){yn()||H(!1);let e=y.useContext(zl),{basename:t,future:n,navigator:r}=y.useContext(qe),{matches:l}=y.useContext(be),{pathname:i}=wn(),o=JSON.stringify(ss(l,n.v7_relativeSplatPath)),s=y.useRef(!1);return Xc(()=>{s.current=!0}),y.useCallback(function(c,h){if(h===void 0&&(h={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let m=us(c,JSON.parse(o),i,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:gt([t,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[t,r,o,i,e])}function cs(){let{matches:e}=y.useContext(be),t=e[e.length-1];return t?t.params:{}}function Ml(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=y.useContext(qe),{matches:l}=y.useContext(be),{pathname:i}=wn(),o=JSON.stringify(ss(l,r.v7_relativeSplatPath));return y.useMemo(()=>us(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function ap(e,t){return cp(e,t)}function cp(e,t,n,r){yn()||H(!1);let{navigator:l}=y.useContext(qe),{matches:i}=y.useContext(be),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let c=wn(),h;if(t){var m;let k=typeof t=="string"?xn(t):t;u==="/"||(m=k.pathname)!=null&&m.startsWith(u)||H(!1),h=k}else h=c;let v=h.pathname||"/",x=v;if(u!=="/"){let k=u.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(k.length).join("/")}let w=$1(e,{pathname:x}),C=mp(w&&w.map(k=>Object.assign({},k,{params:Object.assign({},s,k.params),pathname:gt([u,l.encodeLocation?l.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?u:gt([u,l.encodeLocation?l.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),i,n,r);return t&&C?y.createElement(Ol.Provider,{value:{location:ur({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:ut.Pop}},C):C}function dp(){let e=yp(),t=ip(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:l},n):null,null)}const fp=y.createElement(dp,null);class pp extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?y.createElement(be.Provider,{value:this.props.routeContext},y.createElement(Yc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hp(e){let{routeContext:t,match:n,children:r}=e,l=y.useContext(zl);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(be.Provider,{value:t},r)}function mp(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let o=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let h=o.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id]));h>=0||H(!1),o=o.slice(0,Math.min(o.length,h+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h<o.length;h++){let m=o[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(c=h),m.route.id){let{loaderData:v,errors:x}=n,w=m.route.loader&&v[m.route.id]===void 0&&(!x||x[m.route.id]===void 0);if(m.route.lazy||w){u=!0,c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((h,m,v)=>{let x,w=!1,C=null,k=null;n&&(x=s&&m.route.id?s[m.route.id]:void 0,C=m.route.errorElement||fp,u&&(c<0&&v===0?(Cp("route-fallback",!1),w=!0,k=null):c===v&&(w=!0,k=m.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,v+1)),d=()=>{let f;return x?f=C:w?f=k:m.route.Component?f=y.createElement(m.route.Component,null):m.route.element?f=m.route.element:f=h,y.createElement(hp,{match:m,routeContext:{outlet:h,matches:p,isDataRoute:n!=null},children:f})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?y.createElement(pp,{location:n.location,revalidation:n.revalidation,component:C,error:x,children:d(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):d()},null)}var Gc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Gc||{}),vl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(vl||{});function vp(e){let t=y.useContext(zl);return t||H(!1),t}function gp(e){let t=y.useContext(Zc);return t||H(!1),t}function xp(e){let t=y.useContext(be);return t||H(!1),t}function Jc(e){let t=xp(),n=t.matches[t.matches.length-1];return n.route.id||H(!1),n.route.id}function yp(){var e;let t=y.useContext(Yc),n=gp(vl.UseRouteError),r=Jc(vl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function wp(){let{router:e}=vp(Gc.UseNavigateStable),t=Jc(vl.UseNavigateStable),n=y.useRef(!1);return Xc(()=>{n.current=!0}),y.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,ur({fromRouteId:t},i)))},[e,t])}const Nu={};function Cp(e,t,n){!t&&!Nu[e]&&(Nu[e]=!0)}function Sp(e){let{to:t,replace:n,state:r,relative:l}=e;yn()||H(!1);let{future:i,static:o}=y.useContext(qe),{matches:s}=y.useContext(be),{pathname:u}=wn(),c=as(),h=us(t,ss(s,i.v7_relativeSplatPath),u,l==="path"),m=JSON.stringify(h);return y.useEffect(()=>c(JSON.parse(m),{replace:n,state:r,relative:l}),[c,m,l,n,r]),null}function ge(e){H(!1)}function kp(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ut.Pop,navigator:i,static:o=!1,future:s}=e;yn()&&H(!1);let u=t.replace(/^\/*/,"/"),c=y.useMemo(()=>({basename:u,navigator:i,static:o,future:ur({v7_relativeSplatPath:!1},s)}),[u,s,i,o]);typeof r=="string"&&(r=xn(r));let{pathname:h="/",search:m="",hash:v="",state:x=null,key:w="default"}=r,C=y.useMemo(()=>{let k=hn(h,u);return k==null?null:{location:{pathname:k,search:m,hash:v,state:x,key:w},navigationType:l}},[u,h,m,v,x,w,l]);return C==null?null:y.createElement(qe.Provider,{value:c},y.createElement(Ol.Provider,{children:n,value:C}))}function Ep(e){let{children:t,location:n}=e;return ap(co(t),n)}new Promise(()=>{});function co(e,t){t===void 0&&(t=[]);let n=[];return y.Children.forEach(e,(r,l)=>{if(!y.isValidElement(r))return;let i=[...t,l];if(r.type===y.Fragment){n.push.apply(n,co(r.props.children,i));return}r.type!==ge&&H(!1),!r.props.index||!r.props.children||H(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=co(r.props.children,i)),n.push(o)}),n}/**
 * React Router DOM v6.22.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function gl(){return gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gl.apply(this,arguments)}function qc(e,t){if(e==null)return{};var n={},r=Object.keys(e),l,i;for(i=0;i<r.length;i++)l=r[i],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}function jp(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Np(e,t){return e.button===0&&(!t||t==="_self")&&!jp(e)}const Pp=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],_p=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Lp="6";try{window.__reactRouterVersion=Lp}catch{}const Fp=y.createContext({isTransitioning:!1}),Tp="startTransition",Pu=jd[Tp];function Rp(e){let{basename:t,children:n,future:r,window:l}=e,i=y.useRef();i.current==null&&(i.current=I1({window:l,v5Compat:!0}));let o=i.current,[s,u]=y.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},h=y.useCallback(m=>{c&&Pu?Pu(()=>u(m)):u(m)},[u,c]);return y.useLayoutEffect(()=>o.listen(h),[o,h]),y.createElement(kp,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const Dp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,et=y.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:s,target:u,to:c,preventScrollReset:h,unstable_viewTransition:m}=t,v=qc(t,Pp),{basename:x}=y.useContext(qe),w,C=!1;if(typeof c=="string"&&zp.test(c)&&(w=c,Dp))try{let f=new URL(window.location.href),g=c.startsWith("//")?new URL(f.protocol+c):new URL(c),E=hn(g.pathname,x);g.origin===f.origin&&E!=null?c=E+g.search+g.hash:C=!0}catch{}let k=sp(c,{relative:l}),p=Mp(c,{replace:o,state:s,target:u,preventScrollReset:h,relative:l,unstable_viewTransition:m});function d(f){r&&r(f),f.defaultPrevented||p(f)}return y.createElement("a",gl({},v,{href:w||k,onClick:C||i?r:d,ref:n,target:u}))}),Ft=y.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:o=!1,style:s,to:u,unstable_viewTransition:c,children:h}=t,m=qc(t,_p),v=Ml(u,{relative:m.relative}),x=wn(),w=y.useContext(Zc),{navigator:C,basename:k}=y.useContext(qe),p=w!=null&&Ip(v)&&c===!0,d=C.encodeLocation?C.encodeLocation(v).pathname:v.pathname,f=x.pathname,g=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;l||(f=f.toLowerCase(),g=g?g.toLowerCase():null,d=d.toLowerCase()),g&&k&&(g=hn(g,k)||g);const E=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let P=f===d||!o&&f.startsWith(d)&&f.charAt(E)==="/",_=g!=null&&(g===d||!o&&g.startsWith(d)&&g.charAt(d.length)==="/"),L={isActive:P,isPending:_,isTransitioning:p},$=P?r:void 0,T;typeof i=="function"?T=i(L):T=[i,P?"active":null,_?"pending":null,p?"transitioning":null].filter(Boolean).join(" ");let ve=typeof s=="function"?s(L):s;return y.createElement(et,gl({},m,{"aria-current":$,className:T,ref:n,style:ve,to:u,unstable_viewTransition:c}),typeof h=="function"?h(L):h)});var fo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(fo||(fo={}));var _u;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_u||(_u={}));function Op(e){let t=y.useContext(zl);return t||H(!1),t}function Mp(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,u=as(),c=wn(),h=Ml(e,{relative:o});return y.useCallback(m=>{if(Np(m,n)){m.preventDefault();let v=r!==void 0?r:ml(c)===ml(h);u(e,{replace:v,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:s})}},[c,u,h,r,l,n,e,i,o,s])}function Ip(e,t){t===void 0&&(t={});let n=y.useContext(Fp);n==null&&H(!1);let{basename:r}=Op(fo.useViewTransitionState),l=Ml(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=hn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=hn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ao(l.pathname,o)!=null||ao(l.pathname,i)!=null}function Bp(){const[e,t]=y.useState(!1);return a.jsx("div",{className:"min-h-screen bg-[#F6F6F6]",children:a.jsxs("main",{className:"flex flex-col items-center justify-center min-h-[80vh] bg-[#F6F6F6]",children:[a.jsx("img",{src:"./images/logo.svg",alt:"Logo",className:"w-[167px] h-[167px]"}),a.jsx("h1",{className:"text-4xl font-extrabold text-[#191C30]/90 mb-[52px]",children:"Добро пожаловать в Домашку!"}),a.jsxs("div",{className:"relative hover:shadow-md transition-shadow duration-300 rounded-xl",children:[a.jsx("input",{placeholder:"Введите код",type:"text",className:"h-[56px] w-[320px] bg-[#FFFFFF] border border-[#E0E0E0] rounded-xl placeholder:text-[15px] placeholder:text-[#1B1F3B]/65 pl-4 placeholder:font-semibold  focus:outline-[#526ED3] focus:outline-2 pr-12 text-[#191C30]/90 text-[15px] font-semibold"}),a.jsx("img",{src:"./images/hint.svg",role:"presentation",className:"absolute right-4 top-1/2 transform -translate-y-1/2 w-6 h-6 cursor-pointer",alt:"hint-icon",onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1)}),e&&a.jsx("div",{className:"absolute bottom-full left-[90%] mb-2 bg-white p-2 rounded shadow-md text-[15px]",children:"Введите код приглашения"})]}),a.jsx(et,{to:"/dashboard",className:"w-[320px] h-[44px] bg-[#526ED3] hover:bg-[#6C86E2] focus:bg-[#6C86E2] transition-colors duration-200 text-white rounded-xl font-bold mt-8 text-[15px] active:bg-[#314692] disabled:opacity-60 focus:outline-[#526ED3] focus:outline-2 flex items-center justify-center",children:"Далее"})]})})}function Up(){return a.jsx("nav",{children:a.jsxs("ul",{className:"flex flex-col gap-1",children:[a.jsx("li",{className:"flex flex-col justify-center",children:a.jsxs(Ft,{to:"/dashboard",className:"flex gap-2 items-center h-11 w-[204px] hover:bg-[#000000]/5 px-2 rounded-lg cursor-pointer",children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-[#1B1F3B]/40",children:a.jsx("path",{d:"M1.87868 2.87868C2.44129 2.31607 3.20435 2 4 2H20C20.7957 2 21.5587 2.31607 22.1213 2.87868C22.6839 3.44129 23 4.20435 23 5V15C23 15.7957 22.6839 16.5587 22.1213 17.1213C21.5587 17.6839 20.7957 18 20 18H13V20H16C16.5523 20 17 20.4477 17 21C17 21.5523 16.5523 22 16 22H8C7.44772 22 7 21.5523 7 21C7 20.4477 7.44772 20 8 20H11V18H4C3.20435 18 2.44129 17.6839 1.87868 17.1213C1.31607 16.5587 1 15.7956 1 15V5C1 4.20435 1.31607 3.44129 1.87868 2.87868ZM20 16C20.2652 16 20.5196 15.8946 20.7071 15.7071C20.8946 15.5196 21 15.2652 21 15V5C21 4.73478 20.8946 4.48043 20.7071 4.29289C20.5196 4.10536 20.2652 4 20 4H4C3.73478 4 3.48043 4.10536 3.29289 4.29289C3.10536 4.48043 3 4.73478 3 5V15C3 15.2652 3.10536 15.5196 3.29289 15.7071C3.48043 15.8946 3.73478 16 4 16H20Z"})}),a.jsx("h4",{className:"text-[15px] text-[#191C30]/90 font-medium",children:"Главная"})]})}),a.jsx("li",{className:"flex flex-col justify-center",children:a.jsxs(Ft,{to:"/tasks",className:"flex gap-2 items-center h-11 w-[204px] hover:bg-[#000000]/5 px-2 rounded-lg cursor-pointer",children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-[#1B1F3B]/40",children:a.jsx("path",{d:"M18 3.87866C17.7026 3.87866 17.4174 3.9968 17.2071 4.20709L4.90299 16.5112L4.37439 18.6256L6.48877 18.097L18.7929 5.79288C18.897 5.68875 18.9796 5.56514 19.036 5.42909C19.0923 5.29305 19.1213 5.14724 19.1213 4.99998C19.1213 4.85273 19.0923 4.70692 19.036 4.57087C18.9796 4.43483 18.897 4.31121 18.7929 4.20709C18.6888 4.10296 18.5652 4.02037 18.4291 3.96402C18.2931 3.90767 18.1473 3.87866 18 3.87866ZM15.7929 2.79288C16.3783 2.20751 17.1722 1.87866 18 1.87866C18.4099 1.87866 18.8158 1.9594 19.1945 2.11626C19.5732 2.27312 19.9173 2.50303 20.2071 2.79288C20.497 3.08272 20.7269 3.42681 20.8837 3.8055C21.0406 4.1842 21.1213 4.59008 21.1213 4.99998C21.1213 5.40988 21.0406 5.81576 20.8837 6.19446C20.7269 6.57316 20.497 6.91725 20.2071 7.20709L7.70713 19.7071C7.57897 19.8352 7.41839 19.9262 7.24256 19.9701L3.24256 20.9701C2.90178 21.0553 2.54129 20.9555 2.29291 20.7071C2.04453 20.4587 1.94468 20.0982 2.02988 19.7574L3.02988 15.7574C3.07384 15.5816 3.16476 15.421 3.29291 15.2929L15.7929 2.79288ZM11 20C11 19.4477 11.4477 19 12 19H21C21.5523 19 22 19.4477 22 20C22 20.5523 21.5523 21 21 21H12C11.4477 21 11 20.5523 11 20Z"})}),a.jsx("h4",{className:"text-[15px] text-[#191C30]/90 font-medium",children:"Задания"})]})}),a.jsx("li",{className:"flex flex-col justify-center",children:a.jsxs(Ft,{to:"/subjects",className:"flex gap-2 items-center h-11 w-[204px] hover:bg-[#000000]/5 px-2 rounded-lg cursor-pointer",children:[a.jsx("svg",{id:"subjects",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"stroke-[#1B1F3B]/40",children:a.jsx("path",{d:"M12 21L11.8999 20.8499C11.2053 19.808 10.858 19.287 10.3991 18.9098C9.99286 18.5759 9.52476 18.3254 9.02161 18.1726C8.45325 18 7.82711 18 6.57482 18H5.2C4.07989 18 3.51984 18 3.09202 17.782C2.71569 17.5903 2.40973 17.2843 2.21799 16.908C2 16.4802 2 15.9201 2 14.8V6.2C2 5.07989 2 4.51984 2.21799 4.09202C2.40973 3.71569 2.71569 3.40973 3.09202 3.21799C3.51984 3 4.07989 3 5.2 3H5.6C7.84021 3 8.96031 3 9.81596 3.43597C10.5686 3.81947 11.1805 4.43139 11.564 5.18404C12 6.03968 12 7.15979 12 9.4M12 21V9.4M12 21L12.1001 20.8499C12.7947 19.808 13.142 19.287 13.6009 18.9098C14.0071 18.5759 14.4752 18.3254 14.9784 18.1726C15.5467 18 16.1729 18 17.4252 18H18.8C19.9201 18 20.4802 18 20.908 17.782C21.2843 17.5903 21.5903 17.2843 21.782 16.908C22 16.4802 22 15.9201 22 14.8V6.2C22 5.07989 22 4.51984 21.782 4.09202C21.5903 3.71569 21.2843 3.40973 20.908 3.21799C20.4802 3 19.9201 3 18.8 3H18.4C16.1598 3 15.0397 3 14.184 3.43597C13.4314 3.81947 12.8195 4.43139 12.436 5.18404C12 6.03968 12 7.15979 12 9.4",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),a.jsx("h4",{className:"text-[15px] text-[#191C30]/90 font-medium",children:"Предметы"})]})}),a.jsx("li",{className:"flex flex-col justify-center",children:a.jsxs(Ft,{to:"/dashboard/teacher",className:"flex gap-2 items-center h-11 w-[204px] hover:bg-[#000000]/5 px-2 rounded-lg cursor-pointer",children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-[#1B1F3B]/40",children:a.jsx("path",{d:"M12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12C3 14.3869 3.94821 16.6761 5.63604 18.364C7.32387 20.0518 9.61305 21 12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3ZM7.05025 7.05025C8.36301 5.7375 10.1435 5 12 5C13.8565 5 15.637 5.7375 16.9497 7.05025C18.2625 8.36301 19 10.1435 19 12C19 13.8565 18.2625 15.637 16.9497 16.9497C15.637 18.2625 13.8565 19 12 19C10.1435 19 8.36301 18.2625 7.05025 16.9497C5.7375 15.637 5 13.8565 5 12C5 10.1435 5.7375 8.36301 7.05025 7.05025ZM11.4402 9.8007C11.6439 9.68095 11.8834 9.63717 12.1162 9.67713C12.3491 9.71709 12.5603 9.8382 12.7123 10.019C12.8644 10.1998 12.9476 10.4286 12.9471 10.6649V10.667C12.9471 10.8026 12.8321 11.0417 12.3923 11.3349C12.2029 11.4611 12.0064 11.5601 11.8533 11.6282C11.7782 11.6616 11.717 11.686 11.6769 11.7013C11.6569 11.7089 11.6425 11.7141 11.6344 11.717L11.6274 11.7195C11.1056 11.8954 10.8241 12.4605 10.9985 12.9834C11.1732 13.5073 11.7395 13.7904 12.2635 13.6156L12.2647 13.6152L12.2661 13.6148L12.2694 13.6136L12.2783 13.6106L12.3047 13.6013C12.3259 13.5938 12.3544 13.5834 12.3891 13.5702C12.4584 13.5438 12.5535 13.5057 12.6658 13.4557C12.8877 13.3571 13.1912 13.206 13.5018 12.9989C14.0618 12.6255 14.946 11.8653 14.9471 10.6691C14.9486 9.96036 14.6991 9.27394 14.2429 8.73154C13.7866 8.18915 13.153 7.82581 12.4545 7.70594C11.7559 7.58607 11.0375 7.7174 10.4265 8.07666C9.8155 8.43592 9.35145 8.9999 9.11658 9.66863C8.93358 10.1897 9.20764 10.7605 9.72872 10.9435C10.2498 11.1265 10.8206 10.8524 11.0036 10.3314C11.0819 10.1084 11.2366 9.92046 11.4402 9.8007ZM12.0001 14.334C11.4478 14.334 11.0001 14.7817 11.0001 15.334C11.0001 15.8863 11.4478 16.334 12.0001 16.334H12.0071C12.5594 16.334 13.0071 15.8863 13.0071 15.334C13.0071 14.7817 12.5594 14.334 12.0071 14.334H12.0001Z"})}),a.jsx("h4",{className:"text-[15px] text-[#191C30]/90 font-medium",children:"Перейти на учителя"})]})})]})})}function $p(){const e=y.useRef(null);return a.jsx("div",{children:a.jsxs("div",{className:"relative shadow-sm hover:shadow-md transition-shadow duration-300 rounded-xl",children:[a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute left-2 top-1/2 transform -translate-y-1/2 w-4 h-4 cursor-text",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13C3.68629 13 1 10.3137 1 7C1 3.68629 3.68629 1 7 1C10.3137 1 13 3.68629 13 7C13 8.29583 12.5892 9.49572 11.8907 10.4765L14.7071 13.2929C15.0976 13.6834 15.0976 14.3166 14.7071 14.7071C14.3166 15.0976 13.6834 15.0976 13.2929 14.7071L10.4765 11.8907C9.49572 12.5892 8.29583 13 7 13ZM7 11C9.20914 11 11 9.20914 11 7C11 4.79086 9.20914 3 7 3C4.79086 3 3 4.79086 3 7C3 9.20914 4.79086 11 7 11Z",fill:"#1B1F3B",fillOpacity:"0.4"})}),a.jsx("input",{ref:e,placeholder:"Поиск",type:"text",className:"h-8 w-[225px] bg-[#FFFFFF] border border-[#E0E0E0] rounded-xl placeholder:text-[13px] placeholder:text-[#1B1F3B]/65 pl-8 placeholder:font-semibold  focus:outline-[#526ED3] focus:outline-2 pr-1.5 text-[#191C30]/90 text-[13px] font-semibold"})]})})}function At({children:e}){return a.jsx("div",{className:"flex flex-col h-screen",children:a.jsxs("div",{className:"flex h-full",children:[a.jsx("aside",{className:"basis-[236px] bg-[#F6F6F6] flex flex-col items-end py-8 pl-6",children:a.jsx(Up,{})}),a.jsx("main",{className:"flex-grow overflow-y-auto bg-[#F6F6F6]",children:e})]})})}function Ap(){return a.jsx("div",{children:a.jsx("h1",{children:"СТРАНИЦА НЕ НАЙДЕНА"})})}function pi({defaultOption:e,options:t}){const[n,r]=y.useState(!1),[l,i]=y.useState({id:"",title:""}),o=y.useRef(null),s=c=>{i(c),r(!1)},u=c=>{o.current&&!o.current.contains(c.target)&&r(!1)};return y.useEffect(()=>(document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}),[]),a.jsxs("div",{className:"relative w-fit",ref:o,children:[a.jsxs("button",{className:`border border-[#E0E0E0] rounded-xl text-[13px] font-medium pl-3 pr-2 flex items-center gap-1 focus:outline-[#526ED3] focus:outline-2 h-8 ${n?"border-2 border-[#526ED3]":""}`,onClick:()=>r(!n),children:[l.title||e,a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:`transition-transform ${n?"rotate-180":""}`,children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.29289 5.29289C3.68342 4.90237 4.31658 4.90237 4.70711 5.29289L8 8.58579L11.2929 5.29289C11.6834 4.90237 12.3166 4.90237 12.7071 5.29289C13.0976 5.68342 13.0976 6.31658 12.7071 6.70711L8.70711 10.7071C8.31658 11.0976 7.68342 11.0976 7.29289 10.7071L3.29289 6.70711C2.90237 6.31658 2.90237 5.68342 3.29289 5.29289Z",fill:"#191C30",fillOpacity:"0.9"})})]}),n&&a.jsxs("ul",{className:"absolute bg-white border rounded-xl mt-1 py-2 text-[13px] w-fit text-nowrap z-10",children:[a.jsx("li",{className:"px-4 py-2 cursor-pointer hover:bg-gray-100",onClick:()=>s({id:-1,title:"Предмет"}),children:"Не выбрано"}),t.map((c,h)=>a.jsx("li",{className:"px-4 py-2 cursor-pointer hover:bg-gray-100",onClick:()=>s(c),children:c.title},h))]})]})}let Vp=[{id:1,title:"База данных"},{id:2,title:"Программирование"},{id:3,title:"Метрология"}],Hp=[{id:1,title:"Титов Ю.П."},{id:2,title:"Ткачев О.А."},{id:3,title:"Грабовский М.Н."}],Wp=[{id:1,title:"Принято"},{id:2,title:"Новое"},{id:3,title:"На проверке"},{id:4,title:"Скоро дедлайн"}];function bc(){return a.jsxs("div",{className:"flex mt-7 justify-between z-40",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(pi,{defaultOption:"Предмет",options:Vp}),a.jsx(pi,{defaultOption:"Преподаватель",options:Hp}),a.jsx(pi,{defaultOption:"Статус",options:Wp})]}),a.jsx($p,{})]})}function ds(e){const t=new Date(e),n=String(t.getDate()).padStart(2,"0"),r=String(t.getMonth()+1).padStart(2,"0"),l=t.getFullYear();return`${n}.${r}.${l}`}function ed(e){let t;switch(e){case"closed":t="Принято";break;case"new":t="Новое";break;case"in_progress":t="На проверке";break;default:t="Ошибка"}return t}function td({id:e,status:t,isDeadline:n=!1,subject:r,teacher:l,title:i,description:o,expiredAt:s}){let u=ed(t),c=ds(s);return a.jsxs("div",{className:"p-8 flex justify-between task-shadow rounded-[16px]",children:[a.jsxs("div",{className:"flex flex-col justify-between gap-[25px]",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs("p",{className:`${n?"deadline":""} relative flex items-center gap-2 h-6 text-[13px] font-medium px-2 w-fit ${t} z-0`,children:[a.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#FFC700] "}),n?"Скоро дедлайн":u]}),a.jsx("p",{className:"h-6 bg-[#79818C1F] px-2 rounded-[30px] text-[13px] font-medium flex items-center",children:r}),a.jsx("p",{className:"h-6 bg-[#79818C1F] px-2 rounded-[30px] text-[13px] font-medium flex items-center",children:l})]}),a.jsxs("div",{className:"flex flex-col gap-3",children:[a.jsx("h4",{className:"text-[20px] font-extrabold w-[632px] text-[#191C30]/90",children:i}),a.jsx("p",{className:"text-[13px] font-medium w-[632px] text-[#191C30]/90",children:o})]})]}),a.jsxs("div",{className:"flex flex-col justify-between",children:[a.jsxs("div",{className:"flex flex-col items-start",children:[a.jsx("p",{className:"text-[#1B1F3B]/40 text-[11px] font-medium",children:"сдать до:"}),a.jsx("p",{className:"text-[13px] text-[#191C30]/90 font-bold",children:c})]}),a.jsx(et,{to:`/tasks/${e}`,className:"bg-[#526ED3] text-white rounded-xl px-2 h-8 font-extrabold hover:bg-[#6C86E2] transition-colors duration-200 flex items-center",children:"Посмотреть"})]})]})}function nd({tasks:e}){return a.jsxs("div",{className:"flex flex-col gap-4 mt-7",children:[e.map(t=>a.jsx(td,{id:t.id,status:t.status.toLowerCase(),isDeadline:t.isDeadline,subject:t.subject,teacher:t.teacher,title:t.title,description:t.description,expiredAt:t.expiredAt},t.id)),e.length===0&&a.jsx("div",{className:"flex justify-center",children:a.jsx("h3",{className:"text-[24px] text-[#1B1F3B]/65",children:"Заданий нет, можешь отдыхать :)"})})]})}new Date().toString(),new Date().toString(),new Date().toString(),new Date().toString();function rd(){const[e,t]=y.useState([]),n=143;return y.useEffect(()=>{(async()=>{try{const l=await fetch(`http://185.84.162.160:8080/api/v1/tasks/users/${n}`);if(!l.ok)throw new Error("Failed to fetch data");const i=await l.json();t(i)}catch(l){console.error("Error fetching data:",l)}})()},[]),a.jsxs("div",{className:"bg-[#FFFFFF] rounded-[16px] p-8 mx-8",children:[a.jsx("h2",{className:"text-[28px] font-extrabold text-[#191C30E5]",children:"Мои задания"}),a.jsx(bc,{}),a.jsx(nd,{tasks:e})]})}function Qp({id:e,subject:t,teacher:n,title:r,expiredAt:l}){const i=ds(l);return a.jsxs(et,{to:`/tasks/${e}`,className:"w-[225px] h-[170px] bg-[#FFFFFF] rounded-xl flex flex-col p-6 justify-between shadow-md flex-shrink-0",children:[a.jsxs("div",{className:"flex items-start justify-between text-[13px] font-medium flex-col gap-2",children:[a.jsx("p",{className:"bg-[#79818C1F] px-[5px] rounded-[30px]",children:t}),a.jsx("p",{className:"bg-[#79818C1F] px-[5px] rounded-[30px]",children:n})]}),a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("h5",{className:"text-[15px] font-extrabold",children:r}),a.jsxs("div",{className:"flex items-center gap-2.5",children:[a.jsx("img",{src:"./images/date.svg",alt:"date"}),a.jsx("p",{children:i})]})]})]})}new Date().toString(),new Date().toString(),new Date().toString(),new Date().toString(),new Date().toString(),new Date().toString(),new Date().toString(),new Date().toString(),new Date().toString();function Kp(){const[e,t]=y.useState([]);return y.useEffect(()=>{(async()=>{try{const r=await fetch("http://185.84.162.160:8080/api/v1/tasks?isDeadline=true");if(!r.ok)throw new Error("Failed to fetch data");const l=await r.json();t(l)}catch(r){console.error("Error fetching data:",r)}})()},[]),e.length!==0&&a.jsxs("div",{className:"px-8",children:[a.jsxs("h2",{className:"flex gap-2 text-[28px] font-extrabold items-center text-[#191C30E5]",children:[a.jsx("span",{children:a.jsx("img",{src:"./images/deadline.svg",alt:"deadline-icon"})}),"Скоро дедлайн"]}),a.jsx("div",{className:"flex items-center mt-6 pb-[42px] gap-4 overflow-x-auto w-screen no-scrollbar",children:e.map(n=>a.jsx(Qp,{id:n.id,subject:n.subject,teacher:n.teacher,title:n.title,expiredAt:n.expiredAt},n.id))})]})}function Zp(){return a.jsxs("div",{className:"max-w-screen overflow-y-auto max-h-screen overflow-x-hidden no-scrollbar pt-8",children:[a.jsx(Kp,{}),a.jsx(rd,{})]})}function Yp(){return a.jsxs("div",{className:"pt-[42px]",children:[a.jsxs(et,{to:"/dashboard",className:"flex items-center gap-2.5 px-11 mb-2.5",children:[a.jsx("img",{src:"../images/backarrow.svg",alt:"back-arrow-icon"}),a.jsx("p",{children:"На главную"})]}),a.jsx(rd,{})]})}function Xp({name:e}){return a.jsx("div",{className:"min-w-[296px] grow h-[156px] shadow-md rounded-[12px] border-2 border-[#EDEDED] flex flex-col items-center justify-center",children:a.jsx("h3",{className:"text-[19px] text-[#191C30] font-extrabold text-wrap p-6",children:e})})}function Gp(){const[e,t]=y.useState([]);return y.useEffect(()=>{(async()=>{try{const r=await fetch("http://185.84.162.160:8080/api/v1/subjects");if(!r.ok)throw new Error("Failed to fetch data");const l=await r.json();t(l)}catch(r){console.error("Error fetching data:",r)}})()},[]),a.jsxs("div",{className:"pt-[42px] mx-8",children:[a.jsxs(et,{to:"/dashboard",className:"flex items-center gap-2.5 mb-2.5",children:[a.jsx("img",{src:"../images/backarrow.svg",alt:"back-arrow-icon"}),a.jsx("p",{children:"На главную"})]}),a.jsxs("div",{className:"border border-[#EDEDED] flex flex-col p-8 rounded-[16px] shadow-md",children:[a.jsx("h3",{className:"text-[28px] text-[#191C30]/90 font-extrabold mb-8",children:"Предметы"}),a.jsx("div",{className:"flex flex-wrap justify-between gap-[16px]",children:e.map(n=>a.jsx(Xp,{name:n.name},n.id))})]})]})}function Jp(){return a.jsx("div",{children:"MARKS"})}function qp(){return a.jsx("div",{children:"SUPPORT"})}function ld({filePath:e,name:t,size:n}){return a.jsxs("div",{className:"border-t-[2px] py-2 border-[#1B1F3B]/30 flex items-center gap-2 w-fit",children:[a.jsxs("a",{href:e,target:"_blank",className:"flex items-center gap-3 text-[15px] text-[#191C30]/90 font-medium",children:[a.jsx("img",{src:"../images/file.svg",alt:"file-icon"}),t]}),a.jsx("span",{className:"text-[#1B1F3B]/65 font-medium text-[15px]",children:n})]})}function id({selectedFiles:e,setSelectedFiles:t}){const n=y.useRef();cs();const r=l=>{console.log(Array.from(l.target.files)),t(Array.from(l.target.files))};return a.jsxs("div",{children:[a.jsx("input",{type:"file",multiple:!0,onChange:r,style:{display:"none"},ref:n}),a.jsxs("button",{className:"border border-[#526ED3] border-dashed rounded-[12px] w-full p-4 text-[15px] font-normal text-center align-middle text-[#1B1F3B]/65",onClick:l=>{n.current.click(),l.preventDefault()},children:[a.jsx("span",{className:"text-[#526ED3]",children:"Выберите файлы"})," или перетяните их сюда"]}),(e==null?void 0:e.length)!==0&&a.jsx("div",{className:"w-full border border-[#E0E0E0] mt-1 rounded-[12px] max-h-[300px] overflow-y-auto",children:e==null?void 0:e.map((l,i)=>a.jsx("div",{className:`${i!==0?"border-t-[1px]":""} p-2.5 border-[#E0E0E0] flex items-center gap-2 `,children:a.jsxs("p",{className:"flex items-center gap-3 text-[15px] text-[#191C30]/90 font-medium",children:[a.jsx("img",{src:"../images/file.svg",alt:"file-icon"}),l.name]})},i))})]})}function bp({setTaskInfo:e}){const[t,n]=y.useState(!1),[r,l]=y.useState([]),[i,o]=y.useState({userId:143,message:""}),s=cs(),u=()=>{n(!0)},c=()=>{n(!1)},h=x=>{x.preventDefault(),c()},m=x=>{x.target.closest(".modal")||c()},v=async()=>{try{const x=new FormData;x.append("answer",JSON.stringify(i)),r.forEach(k=>{x.append("files",k)});const w=await fetch(`http://185.84.162.160:8080/api/v1/tasks/${s.id}/answers`,{method:"POST",body:x});if(!w.ok)throw new Error("Failed to send answer");const C=await w.json()}catch(x){console.error("Error sending answer:",x)}};return y.useEffect(()=>{const x=w=>{w.key==="Escape"&&c()};return window.addEventListener("keydown",x),()=>{window.removeEventListener("keydown",x)}},[]),a.jsxs(a.Fragment,{children:[a.jsx("button",{className:"bg-[#526ED3] text-white rounded-xl px-2 h-11 font-extrabold hover:bg-[#6C86E2] transition-colors duration-200 flex items-center text-[15px]",onClick:u,children:"Сдать задание"}),t&&a.jsx("div",{className:"fixed top-0 left-0 w-full h-full bg-black bg-opacity-30 flex justify-center items-center",onClick:m,children:a.jsxs("div",{className:"bg-white px-6 py-9 w-[600px] rounded-[24px] modal",children:[a.jsx("h2",{className:"text-[28px] font-extrabold mb-4 text-[#191C30]/90",children:"Сдать задание"}),a.jsx("p",{className:"text-[15px] font-medium text-[#191C30]/90",children:"Прикрепите файл с заданием"}),a.jsxs("form",{className:"mt-8",onSubmit:h,children:[a.jsx("div",{className:"mb-4",children:a.jsx(id,{setSelectedFiles:l,selectedFiles:r})}),a.jsxs("div",{className:"mb-4 flex flex-col items-start",children:[a.jsx("label",{htmlFor:"textInput",className:"text-[13px] text-[#1B1F3B]/65",children:"Комментарий"}),a.jsx("textarea",{id:"textInput",placeholder:"Напишите комментарий, если это необходимо",value:i.message,onChange:x=>o({...i,message:x.target.value}),rows:"4",className:"focus:outline-[#526ED3] w-full mt-1 border border-[#E0E0E0] rounded-[12px] h-[140px] shadow-md resize-none overflow-auto p-4 text-[15px] placeholder:text-[15px] placeholder:text-[#1B1F3B]/65 placeholder:font-medium",cols:"50"})]}),a.jsxs("div",{className:"flex gap-2 justify-end",children:[a.jsx("button",{onClick:c,className:`border border-[#526ED3] text-[#526ED3]\r
                                    rounded-xl px-2 h-11 font-extrabold\r
                                    hover:bg-[#6C86E2]\r
									hover:text-white transition-colors\r
                                    duration-200 flex items-center text-[15px]`,children:"Отмена"}),a.jsx("button",{type:"submit",onClick:v,className:"bg-[#526ED3] text-white rounded-xl px-2 h-11 font-extrabold hover:bg-[#6C86E2] transition-colors duration-200 flex items-center text-[15px]",children:"Отправить"})]})]})]})})]})}function e0({id:e,status:t,isDeadline:n=!1,subject:r,teacher:l,title:i,description:o,expiredAt:s,files:u,answer:c}){let h=ed(t),m=ds(s);return a.jsxs("div",{className:"bg-[#FFFFFF] p-8 rounded-[16px] mt-3 shadow-sm",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs("p",{className:`${n?"deadline":""} relative flex items-center gap-2 h-6 text-[13px] font-medium px-2 w-fit ${t} z-0`,children:[a.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-[#FFC700] "}),n?"Скоро дедлайн":h]}),a.jsx("p",{className:"h-6 bg-[#79818C1F] px-2 rounded-[30px] text-[13px] font-medium flex items-center",children:r}),a.jsx("p",{className:"h-6 bg-[#79818C1F] px-2 rounded-[30px] text-[13px] font-medium flex items-center",children:l})]}),a.jsxs("div",{className:"flex flex-col items-start",children:[a.jsx("p",{className:"text-[#1B1F3B]/40 text-[11px] font-medium",children:"сдать до:"}),a.jsx("p",{className:"text-[13px] text-[#191C30]/90 font-extrabold",children:m})]})]}),a.jsxs("div",{className:"flex justify-between items-start mt-9",children:[a.jsxs("div",{className:"flex flex-col gap-6 w-[600px] leading-[48px]",children:[a.jsx("h2",{className:"text-[44px] font-extrabold text-[#191C30]/90 text-wrap",children:i}),a.jsx("p",{className:"leading-[28px] font-medium text-[17px] text-[#191C30]/90",children:o})]}),(c==null?void 0:c.length)===0&&a.jsx(bp,{})]}),a.jsxs("div",{className:"flex flex-col gap-6 mt-10",children:[a.jsx("h4",{className:"text-xl font-extrabold text-[#1B1F3B]/65",children:"Прикрепленные файлы"}),a.jsx("div",{className:"w-fit",children:u==null?void 0:u.map(v=>a.jsx(ld,{name:v.name,size:v.size,filePath:v.filePath},v.id))})]})]})}function t0({answer:e}){var t,n;return a.jsxs("div",{className:"rounded-[16px] bg-[#FFFFFF] mt-2.5 p-8 shadow-sm",children:[a.jsx("h3",{className:"text-[#191C30]/90 text-4xl font-extrabold",children:"Ответ"}),a.jsx("p",{className:"mt-6 text-[17px] text-[#191C30]/90 font-medium w-[90%]",children:(e==null?void 0:e.length)!==0?(t=e[0])==null?void 0:t.message:"Вы пока не сдали задание, ждём ваше гениальное решение :)"}),(e==null?void 0:e.length)!==0&&a.jsxs("div",{className:"flex flex-col gap-6 mt-10",children:[a.jsx("h4",{className:"text-xl font-extrabold text-[#1B1F3B]/65",children:"Прикрепленные файлы"}),a.jsx("div",{className:"w-fit",children:(n=e[0])==null?void 0:n.files.map(r=>a.jsx(ld,{name:r.name,size:r.size,filePath:r.filePath},r.id))})]})]})}function n0(){var s;const[e,t]=y.useState(),[n,r]=y.useState([]),l=cs(),[i,o]=y.useState([]);return y.useEffect(()=>{(async()=>{try{const c=await fetch(`http://185.84.162.160:8080/api/v1/answers/143?taskId=${l.id}`);if(!c.ok)throw new Error("Failed to fetch data");const h=await c.json();o(h)}catch(c){console.error("Error fetching data:",c)}})()},[l==null?void 0:l.id]),y.useEffect(()=>{(async()=>{try{const c=await fetch(`http://185.84.162.160:8080/api/v1/tasks/${l.id}`);if(!c.ok)throw new Error("Failed to fetch data");const h=await c.json();t(h)}catch(c){console.error("Error fetching data:",c)}})()},[l.id]),y.useEffect(()=>{(async()=>{try{const c=await fetch("http://185.84.162.160:8080/api/v1/tasks/users/143");if(!c.ok)throw new Error("Failed to fetch data");const h=await c.json();r(h)}catch(c){console.error("Error fetching data:",c)}})()},[]),a.jsxs("div",{className:"pt-[42px] px-8",children:[a.jsxs(et,{to:"/tasks",className:"flex items-center gap-2.5",children:[a.jsx("img",{src:"../images/backarrow.svg",alt:"back-arrow-icon"}),a.jsx("p",{children:"К заданиям"})]}),a.jsx(e0,{id:e==null?void 0:e.id,status:(s=e==null?void 0:e.status)==null?void 0:s.toLowerCase(),isDeadline:e==null?void 0:e.isDeadline,subject:e==null?void 0:e.subject,teacher:e==null?void 0:e.teacher,title:e==null?void 0:e.title,description:e==null?void 0:e.description,expiredAt:e==null?void 0:e.expiredAt,files:e==null?void 0:e.files,answer:i}),a.jsx(t0,{answer:i}),a.jsxs("div",{className:"bg-[#FFFFFF] rounded-[16px] mt-9 p-8",children:[a.jsx("h3",{className:"text-[#191C30]/90 text-4xl font-extrabold",children:"Другие задания"}),a.jsxs("div",{className:"flex flex-col gap-4 mt-7",children:[n==null?void 0:n.map(u=>a.jsx(td,{id:u.id,status:u.status.toLowerCase(),isDeadline:u.isDeadline,subject:u.subject,teacher:u.teacher,title:u.title,description:u.description,expiredAt:u.expiredAt},u.id)),n.length===0&&a.jsx("div",{className:"flex justify-center",children:a.jsx("h3",{className:"text-[24px] text-[#1B1F3B]/65",children:"Заданий нет, можешь отдыхать :)"})})]})]})]})}function od(){const[e,t]=y.useState([]),n=145;return y.useEffect(()=>{(async()=>{try{const l=await fetch(`http://185.84.162.160:8080/api/v1/tasks/users/${n}?isTeacher=true`);if(!l.ok)throw new Error("Failed to fetch data");const i=await l.json();console.log(i),t(i)}catch(l){console.error("Error fetching data:",l)}})()},[]),a.jsxs("div",{className:"bg-[#FFFFFF] rounded-[16px] p-8 mx-8",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("h2",{className:"text-[28px] font-extrabold text-[#191C30E5]",children:"Задания"}),a.jsxs(et,{to:"/create-task/teacher",className:"bg-[#526ED3] text-white rounded-xl px-2 h-11 font-extrabold hover:bg-[#6C86E2] transition-colors duration-200 flex items-center",children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C12.5523 4 13 4.44772 13 5V11H19C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H13V19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19V13H5C4.44772 13 4 12.5523 4 12C4 11.4477 4.44772 11 5 11H11V5C11 4.44772 11.4477 4 12 4Z",fill:"white"})})," ","Создать задание"]})]}),a.jsx(bc,{}),a.jsx(nd,{tasks:e})]})}function r0(){return a.jsx("div",{className:"max-w-screen overflow-y-auto max-h-screen overflow-x-hidden no-scrollbar pt-8",children:a.jsx(od,{})})}function l0(){const[e,t]=y.useState(""),[n,r]=y.useState(""),[l,i]=y.useState(!1),[o,s]=y.useState(!1),[u,c]=y.useState([]),[h,m]=y.useState(""),[v,x]=y.useState(145),[w,C]=y.useState(2),k=as(),p=async f=>{f.preventDefault();try{const g=new FormData;g.append("taskDto",JSON.stringify({teacherId:v,subjectId:w,title:e,description:n,expiredAt:new Date(h).toISOString()})),u.forEach(_=>{g.append("files",_)});const E=await fetch("http://185.84.162.160:8080/api/v1/tasks",{method:"POST",body:g});if(!E.ok)throw new Error("Failed to create task");const P=await E.json();k("/tasks/teacher")}catch(g){console.error("Error creating task:",g)}};y.useEffect(()=>{const g=new Date().toISOString().split("T")[0];m(g)},[]);const d=f=>{const g=f.target.value;m(g)};return a.jsxs("div",{className:"pt-[42px] px-8",children:[a.jsxs(et,{to:"/tasks/teacher",className:"flex items-center gap-2.5",children:[a.jsx("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.70711 0.292893C8.09763 0.683417 8.09763 1.31658 7.70711 1.70711L2.41421 7L7.70711 12.2929C8.09763 12.6834 8.09763 13.3166 7.70711 13.7071C7.31658 14.0976 6.68342 14.0976 6.29289 13.7071L0.292893 7.70711C-0.0976311 7.31658 -0.0976311 6.68342 0.292893 6.29289L6.29289 0.292893C6.68342 -0.0976311 7.31658 -0.0976311 7.70711 0.292893Z",fill:"#191C30",fillOpacity:"0.9"})}),a.jsx("p",{children:"К заданиям"})]}),a.jsxs("div",{className:"bg-[#FFFFFF] rounded-[16px] mt-9 p-8",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex flex-col gap-[24px] grow",children:[a.jsx("input",{placeholder:"Введите название",value:e,onChange:f=>t(f.target.value),onFocus:()=>i(!0),onBlur:()=>i(!1),className:`outline-none text-[44px] text-[#191C30]/90 font-extrabold w-[70%] text-wrap  ${l?"placeholder:text-transparent":"placeholder:text-[#191C30]/60"}`,type:"text"}),a.jsx("input",{placeholder:"Введите описание задачи, чтобы студентам было проще разобраться в нём",value:n,onChange:f=>r(f.target.value),onFocus:()=>s(!0),onBlur:()=>s(!1),className:`outline-none text-[17px] text-[#191C30]/90 font-medium w-[70%] text-wrap ${o?"placeholder:text-transparent":"placeholder:text-[#191C30]/90"}`,type:"text"})]}),a.jsxs("button",{className:"text-[#526ED3] text-[15px] font-extrabold flex items-center p-4",onClick:p,children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7304 7.31701C18.1076 7.72041 18.0864 8.35322 17.683 8.73043L11.058 16.7304C10.6736 17.0898 10.0765 17.0899 9.69209 16.7305L6.31709 13.6405C5.91365 13.2633 5.89234 12.6305 6.2695 12.2271C6.64667 11.8236 7.27947 11.8023 7.68292 12.1795L10.3749 14.631L16.317 7.26958C16.7204 6.89237 17.3532 6.91361 17.7304 7.31701Z",fill:"#526ED3"})}),"Сохранить"]})]}),a.jsx("div",{className:"mt-12",children:a.jsxs("div",{className:"flex flex-col items-start gap-4",children:[a.jsx("label",{htmlFor:"date-picker",className:"text-[#1B1F3B]/65 text-[24px] font-extrabold",children:"Срок сдачи"}),a.jsx("input",{type:"date",id:"date-picker",className:"outline-[#E0E0E0] border border-[#E0E0E0] outline-1 text-[#1B1F3B]/65 p-4 rounded-[12px] w-[320px]",value:h,onChange:d})]})}),a.jsxs("div",{className:"mt-12 flex flex-col items-start gap-6",children:[a.jsx("h4",{htmlFor:"date-picker",className:"text-[#1B1F3B]/65 text-[20px] font-extrabold",children:"Прикрепленные файлы"}),a.jsx(id,{selectedFiles:u,setSelectedFiles:c})]})]})]})}function i0(){return a.jsx("nav",{children:a.jsxs("ul",{className:"flex flex-col gap-1",children:[a.jsx("li",{className:"flex flex-col justify-center",children:a.jsxs(Ft,{to:"/dashboard/teacher",className:"flex gap-2 items-center h-11 w-[204px] hover:bg-[#000000]/5 px-2 rounded-lg cursor-pointer",children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-[#1B1F3B]/40",children:a.jsx("path",{d:"M1.87868 2.87868C2.44129 2.31607 3.20435 2 4 2H20C20.7957 2 21.5587 2.31607 22.1213 2.87868C22.6839 3.44129 23 4.20435 23 5V15C23 15.7957 22.6839 16.5587 22.1213 17.1213C21.5587 17.6839 20.7957 18 20 18H13V20H16C16.5523 20 17 20.4477 17 21C17 21.5523 16.5523 22 16 22H8C7.44772 22 7 21.5523 7 21C7 20.4477 7.44772 20 8 20H11V18H4C3.20435 18 2.44129 17.6839 1.87868 17.1213C1.31607 16.5587 1 15.7956 1 15V5C1 4.20435 1.31607 3.44129 1.87868 2.87868ZM20 16C20.2652 16 20.5196 15.8946 20.7071 15.7071C20.8946 15.5196 21 15.2652 21 15V5C21 4.73478 20.8946 4.48043 20.7071 4.29289C20.5196 4.10536 20.2652 4 20 4H4C3.73478 4 3.48043 4.10536 3.29289 4.29289C3.10536 4.48043 3 4.73478 3 5V15C3 15.2652 3.10536 15.5196 3.29289 15.7071C3.48043 15.8946 3.73478 16 4 16H20Z"})}),a.jsx("h4",{className:"text-[15px] text-[#191C30]/90 font-medium",children:"Главная"})]})}),a.jsx("li",{className:"flex flex-col justify-center",children:a.jsxs(Ft,{to:"/tasks/teacher",className:"flex gap-2 items-center h-11 w-[204px] hover:bg-[#000000]/5 px-2 rounded-lg cursor-pointer",children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-[#1B1F3B]/40",children:a.jsx("path",{d:"M18 3.87866C17.7026 3.87866 17.4174 3.9968 17.2071 4.20709L4.90299 16.5112L4.37439 18.6256L6.48877 18.097L18.7929 5.79288C18.897 5.68875 18.9796 5.56514 19.036 5.42909C19.0923 5.29305 19.1213 5.14724 19.1213 4.99998C19.1213 4.85273 19.0923 4.70692 19.036 4.57087C18.9796 4.43483 18.897 4.31121 18.7929 4.20709C18.6888 4.10296 18.5652 4.02037 18.4291 3.96402C18.2931 3.90767 18.1473 3.87866 18 3.87866ZM15.7929 2.79288C16.3783 2.20751 17.1722 1.87866 18 1.87866C18.4099 1.87866 18.8158 1.9594 19.1945 2.11626C19.5732 2.27312 19.9173 2.50303 20.2071 2.79288C20.497 3.08272 20.7269 3.42681 20.8837 3.8055C21.0406 4.1842 21.1213 4.59008 21.1213 4.99998C21.1213 5.40988 21.0406 5.81576 20.8837 6.19446C20.7269 6.57316 20.497 6.91725 20.2071 7.20709L7.70713 19.7071C7.57897 19.8352 7.41839 19.9262 7.24256 19.9701L3.24256 20.9701C2.90178 21.0553 2.54129 20.9555 2.29291 20.7071C2.04453 20.4587 1.94468 20.0982 2.02988 19.7574L3.02988 15.7574C3.07384 15.5816 3.16476 15.421 3.29291 15.2929L15.7929 2.79288ZM11 20C11 19.4477 11.4477 19 12 19H21C21.5523 19 22 19.4477 22 20C22 20.5523 21.5523 21 21 21H12C11.4477 21 11 20.5523 11 20Z"})}),a.jsx("h4",{className:"text-[15px] text-[#191C30]/90 font-medium",children:"Задания"})]})}),a.jsx("li",{className:"flex flex-col justify-center",children:a.jsxs(Ft,{to:"/dashboard",className:"flex gap-2 items-center h-11 w-[204px] hover:bg-[#000000]/5 px-2 rounded-lg cursor-pointer",children:[a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-[#1B1F3B]/40",children:a.jsx("path",{d:"M12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12C3 14.3869 3.94821 16.6761 5.63604 18.364C7.32387 20.0518 9.61305 21 12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3ZM7.05025 7.05025C8.36301 5.7375 10.1435 5 12 5C13.8565 5 15.637 5.7375 16.9497 7.05025C18.2625 8.36301 19 10.1435 19 12C19 13.8565 18.2625 15.637 16.9497 16.9497C15.637 18.2625 13.8565 19 12 19C10.1435 19 8.36301 18.2625 7.05025 16.9497C5.7375 15.637 5 13.8565 5 12C5 10.1435 5.7375 8.36301 7.05025 7.05025ZM11.4402 9.8007C11.6439 9.68095 11.8834 9.63717 12.1162 9.67713C12.3491 9.71709 12.5603 9.8382 12.7123 10.019C12.8644 10.1998 12.9476 10.4286 12.9471 10.6649V10.667C12.9471 10.8026 12.8321 11.0417 12.3923 11.3349C12.2029 11.4611 12.0064 11.5601 11.8533 11.6282C11.7782 11.6616 11.717 11.686 11.6769 11.7013C11.6569 11.7089 11.6425 11.7141 11.6344 11.717L11.6274 11.7195C11.1056 11.8954 10.8241 12.4605 10.9985 12.9834C11.1732 13.5073 11.7395 13.7904 12.2635 13.6156L12.2647 13.6152L12.2661 13.6148L12.2694 13.6136L12.2783 13.6106L12.3047 13.6013C12.3259 13.5938 12.3544 13.5834 12.3891 13.5702C12.4584 13.5438 12.5535 13.5057 12.6658 13.4557C12.8877 13.3571 13.1912 13.206 13.5018 12.9989C14.0618 12.6255 14.946 11.8653 14.9471 10.6691C14.9486 9.96036 14.6991 9.27394 14.2429 8.73154C13.7866 8.18915 13.153 7.82581 12.4545 7.70594C11.7559 7.58607 11.0375 7.7174 10.4265 8.07666C9.8155 8.43592 9.35145 8.9999 9.11658 9.66863C8.93358 10.1897 9.20764 10.7605 9.72872 10.9435C10.2498 11.1265 10.8206 10.8524 11.0036 10.3314C11.0819 10.1084 11.2366 9.92046 11.4402 9.8007ZM12.0001 14.334C11.4478 14.334 11.0001 14.7817 11.0001 15.334C11.0001 15.8863 11.4478 16.334 12.0001 16.334H12.0071C12.5594 16.334 13.0071 15.8863 13.0071 15.334C13.0071 14.7817 12.5594 14.334 12.0071 14.334H12.0001Z"})}),a.jsx("h4",{className:"text-[15px] text-[#191C30]/90 font-medium",children:"Перейти на студента"})]})})]})})}function hi({children:e}){return a.jsx("div",{className:"flex flex-col h-screen",children:a.jsxs("div",{className:"flex h-full",children:[a.jsx("aside",{className:"basis-[236px] bg-[#F6F6F6] flex flex-col items-end py-8 pl-6",children:a.jsx(i0,{})}),a.jsx("main",{className:"flex-grow overflow-y-auto bg-[#F6F6F6]",children:e})]})})}function o0(){return a.jsx("div",{className:"max-w-screen overflow-y-auto max-h-screen overflow-x-hidden no-scrollbar pt-8",children:a.jsx(od,{})})}function s0(){return a.jsx(Rp,{children:a.jsxs(Ep,{children:[a.jsx(ge,{index:!0,element:a.jsx(Sp,{replace:!0,to:"auth"})}),a.jsx(ge,{exact:!0,path:"auth",element:a.jsx(Bp,{})}),a.jsx(ge,{path:"dashboard",element:a.jsx(At,{children:a.jsx(Zp,{})})}),a.jsx(ge,{path:"tasks",element:a.jsx(At,{children:a.jsx(Yp,{})})}),a.jsx(ge,{path:"tasks/:id",element:a.jsx(At,{children:a.jsx(n0,{})})}),a.jsx(ge,{path:"subjects/*",element:a.jsx(At,{children:a.jsx(Gp,{})})}),a.jsx(ge,{path:"marks/*",element:a.jsx(At,{children:a.jsx(Jp,{})})}),a.jsx(ge,{path:"support/*",element:a.jsx(At,{children:a.jsx(qp,{})})}),a.jsx(ge,{path:"dashboard/teacher",element:a.jsx(hi,{children:a.jsx(r0,{})})}),a.jsx(ge,{path:"create-task/teacher",element:a.jsx(hi,{children:a.jsx(l0,{})})}),a.jsx(ge,{path:"tasks/teacher",element:a.jsx(hi,{children:a.jsx(o0,{})})}),a.jsx(ge,{path:"*",element:a.jsx(Ap,{})})]})})}mi.createRoot(document.getElementById("root")).render(a.jsx(Bu.StrictMode,{children:a.jsx(s0,{})}));
